How to add shortcut keys for SMTAV Auto tracking ptz camera auto-tracking in VMIX
You can use PowerShell commands to control camera tracking. Download the script file send-VISCA.ps1 here.
Edit the IP address in the script file to match your camera's IP address.
1. Open shortcut settings: In vMix, click Settings → Shortcuts.
2. Add a new shortcut: Click Add.
3. Select function: In the Function drop-down list, find and select "Launch External Program". Note: Not "Start External" (that's an output function).
4. Enter the parameters:
①. Program: Enter the path to PowerShell, for example, C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
②. Arguments: Enter the following (note the double quotes and the path):
-ExecutionPolicy Bypass -File "C:\Users\SSS\Desktop\send-VISCA.ps1" -Command Tracking
5. Assign a key: Click the Key field and press the keyboard combination you want to trigger the command (e.g., Ctrl+1).
6. Repeat the above steps: Add shortcuts for "Turn off tracking" and "Auto select" respectively. Simply change -Command Tracking to -Command Off or -Command Auto.