Giter Club home page Giter Club logo

scriptdeck's Introduction

Supercharge your StreamDeck with PowerShell

ScriptDeck is:

  • A set of StreamDeck Plugins for PowerShell
  • A PowerShell module to help you work with deck devices (StreamDeck and LoupeDeck)
  • A GitHub action that helps you prepare Elgato StreamDeck plugins for publication.

ScriptDeck and WindowsScriptDeck (the plugins)

ScriptDeck and WindowsScriptDeck are a pair of plugins that let your StreamDeck run PowerShell Core and Windows PowerShell, respectively.

Both plugins let you run any command at the touch of a button.

The PowerShell engine stays running and responsive, ready for your next press.

Using the plugins, you can:

  • Run any PowerShell command from any module
  • Watch a path
  • Populate the clipboard with a script's output, then paste the content
  • Open as many URLs as a script returns.
  • Start any Process with any verb (Run as Admin, Print, Edit)
  • Launch PowerShell in a new window

Two variations of the ScriptDeck plugin can be downloaded:

Plugin Description OS
ScriptDeck ScriptDeck running on PowerShell Core MacOS/Windows
WindowsScriptDeck ScriptDeck running on Windows PowerShell Windows

ScriptDeck (the PowerShell Module)

Currently, you can use ScriptDeck to:

  • Create and Manage StreamDeck Profiles and Actions.
  • Create or Update StreamDeck Plugins
  • Start, Stop, and Restart the StreamDeck Application
Get-StreamDeckProfile # Gets StreamDeck Profiles

Get-StreamDeckPlugin  # Gets StreamDeck Plugins

Get-StreamDeckAction  # Gets actions available

You can create actions with New-StreamDeckAction:

New-StreamDeckAction -HotKey "CTRL+V" -Title "Paste" 

New-StreamDeckAction -ProfileName "Default Profile" -Title '^'

New-StreamDeckAction -Uri https://github.com/ -Title GitHub

New-StreamDeckAction -ScriptBlock {
    foreach ($n in 1..10) {
        $n
        Start-Sleep -Seconds $n
    }
}

You can create profiles with New-StreamDeckProfile, and Save them with Save-StreamDeckProfile.

New-StreamDeckProfile -Name NewProfile -Action @{
    "0,0" = New-StreamDeckAction -ProfileName "Default Profile" -Title '^'
    "1,0" = New-StreamDeckAction -ScriptBlock {
        foreach ($n in 1..10) {
            $n
            Start-Sleep -Seconds $n
        }
    } -Title "1..10"
    "2,0" = New-StreamDeckAction -Uri https://github.com/ -Title GitHub -Image https://github.githubassets.com/images/icons/emoji/octocat.png?v8
} |
    Save-StreamDeckProfile

Want the module to do something more? Feel free to open an issue on GitHub.

scriptdeck's People

Contributors

startautomating avatar corbob avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.