这是indexloc提供的服务,不要输入任何密码
Skip to content

BuildScriptDeck

Actions
Publish Plugins for StreamDeck
v0.4.6
Latest
Star (47)

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.

BuildScriptDeck is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Publish Plugins for StreamDeck
v0.4.6
Latest

BuildScriptDeck is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.