home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1999 January
/
pcwk_01_1999.iso
/
Top100sh
/
Macro
/
GrounC
/
data1.cab
/
Example_Files
/
Sample2.gc
< prev
next >
Wrap
Text File
|
1998-08-20
|
712b
|
16 lines
// 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("~")