ComputerControl:PressKey(key
)
key
is a String
This function will send a key press to the front most application.
Example (Windows OS)
ComputerControl.ApplicationWindowToFront("SmartShooter3.exe")
Wait(0.2)
ComputerControl.PressKey("t")
Wait(0.2)
ComputerControl.ApplicationWindowToFront("Moving Light Assistant.exe")