Sending a key stroke to OBS or another application
The command to send a key stroke is key
The parameters are;
- app=<window title>
- data=<key data>
- delay=<time> (optional)
The optional delay specifies a time (in milliseconds) to wait before running the command.
The app parameter is used to find a window with a match in its title bar.
Example - send an F11 key stroke to Winamp on Windows.
Winamp send F11 key app=winamp data={F11} |
The data parameter is different for each platform!
Click here for more info on Windows key codes
Next: Windows Key Codes