This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## HyperDeckTest.ps1 | |
| ## By Ian Morrish | |
| ## Control Blackmagic HyperDesk via Ethernet from Windows PowerShell. PowerShell is part of all modern Windows desktop/server products | |
| ## see https://technet.microsoft.com/en-us/scriptcenter/powershell.aspx | |
| ## | |
| ## To run the script requires enabling PowerShell Script file execution. Run the following command to allow only local scripts to be executed | |
| ## set-executionpolicy remotesigned | |
| # | |
| #run with command line e.g. | |
| # PS > .\HyperDeckTest.ps1 -remoteHost "10.0.0.34" -commands @('remote: override: true', 'goto: clip id: 2','play: single clip: true') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Assume we are in the directory with all required files | |
| add-type -path '.\StreamDeckSharp.dll' | |
| #don't have native streamdeck software running or you get an error | |
| $deckInterface = [StreamDeckSharp.StreamDeck]::OpenDevice() | |
| function inputevent($key){ | |
| if($key.IsDown){ | |
| #run a supersource annimation when button is pressed | |
| switch($key.key){ | |
| #0 is top right key |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Ian Morrish | |
| # https://ianmorrish.wordpress.com | |
| # Powershell script to to allow touch screen control of ATEM by overlaying multiview source with transparent WPF grid | |
| # Any USB 3 capture card that can be detected by ffplay (Direct Show drivers) can be used to display the multiView | |
| #launch ffplay | |
| start-process -filepath c:\tools\launchcamlink.cmd | |
| Start-Sleep 2 | |
| function Show-Process($Process, [Switch]$Maximize) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # See https://ianmorrish.wordpress.com for more info and prerequisites | |
| # Tranlated from LUA code provided by Doug Johnson https://djp.li/supersource | |
| function ConnectToATEM() | |
| { | |
| Try{ | |
| $ATEMipAddress = (Get-ItemProperty -path 'HKCU:\Software\Blackmagic Design\ATEM Software Control').ipAddress | |
| $DocumentsPath = [Environment]::GetFolderPath("MyDocuments") + '\windowspowershell\SwitcherLib.dll' | |
| add-type -path $DocumentsPath #'SwitcherLib.dll' | |
| $Global:atem = New-Object SwitcherLib.Switcher($ATEMipAddress) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Script created by Ian Morrish | |
| # See https://ianmorrish.wordpress.com/2019/03/02/atem-wireless-multiviewer-with-touch-switching/ | |
| # Run Newtek studio monitor first, select input and set to full screen. | |
| # this script requires my switcherlib.dll which you can get from the site above | |
| # after starting this script, <ALT><Tab> to see the multiview live video feed (I will automate this soon) | |
| #Show-Process "overlay" | |
| # Connect to ATEM | |
| function ConnectToATEM() |