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")

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.