home *** CD-ROM | disk | FTP | other *** search
- // This sample demonstrates various ways of using send keys commands
- RunProgram("notepad")
- Delay(2000)
- // *** change the following command to the directory where you installed GroundControl ***
- SetDirectory("c:\groundcontrol")
- // here are some examples of the commands that send keys
- SendKeys("This is a sample line sent by the SendKeys command.~")
- SendKeysToWindow("Untitled - Notepad","Use the SendKeysToWindow command to automatically select the window before sending keys.~")
- SendKeysFromFile("samples\keys.txt")
- SendEnvironment("Temp path: %TEMP%~")
- SendNow("The current date and time is: %x %X~")
- InputBox("Enter your name")
- SendKeys("The name you entered was: ")
- SendInput()
- SendKeys("~")
-