Script-it.exe (NT 4 Server)
Control GUI applications - feed values into dialogue boxes, press OK etc
Syntax SCRIPTIT script_file
Script-It.exe is no longer available for download at Microsoft.com
- an alternative is the freeware tool AutoIt
Originally for NT4 Server, although it does run (rather crankily) on more recent OS's
Script-it works by recognising the Window Title of each
open Application / Document / Dialogue box.
The script_file has to be prepared in advance with all the keystrokes you want
to send to the appropriate Window.
The script_file is a text file in .ini format.
Example Script file:
runwait=notepad.exe
Untitled - Notepad=Hello World
run=calc.exe
This will launch an instance of Notepad and then send the string "Hello
World", when notepad.exe is closed the script will run CALC.exe
To TAB through dialogue boxes and send other keys follow the syntax shown below
Key | SendKey Equivalent | Description |
~ | {~} | send a tilde (~) |
! | {!} | send an exclamation point (!) |
^ | {^} | send a caret (^) |
+ | {+} | send a plus sign (+) |
Alt | {ALT} | send an Alt keystroke |
Backspace | {BACKSPACE} | send a Backspace keystroke |
Clear | {CLEAR} | Clear the field |
Delete | {DELETE} | send a Delete keystroke |
Right Arrow | {RIGHT} | send a Right Arrow keystroke |
Down Arrow | {DOWN} | send a Down Arrow keystroke |
End | {END} | send an End keystroke |
Enter | {ENTER} | send an Enter keystroke |
Escape | {ESCAPE} | send an Esc keystroke |
F1 through F16 | {F1} through {F16} | send the appropriate Function key |
Page Down | {PGDN} | send a Page Down keystroke |
Space | {SPACE} | send a Spacebar keystroke |
Tab | {TAB} | send a Tab keystroke |
{ | {{} | |
} | {}} | |
[ | {[} | |
] | {]} | |
CAPSLOCK | {CAPSLOCK} |
People in the West are always getting ready to live - Chinese
proverb
Related Commands:
WshShell.SendKeys - Send Keys with WSH
CLIP - Copy STDIN to the Windows clipboard.
The freeware tool AutoIt is available from hiddensoft.com/autoIt3/