home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2001 April
/
PCWorld_2001-04_cd.bin
/
Software
/
Vyzkuste
/
autoit
/
AutoIt.exe
/
AutoIt.msi
/
Cabs.w1.cab
/
Calc.aut
< prev
next >
Wrap
Text File
|
1999-09-15
|
471b
|
28 lines
; Example Script
; ==============
;
; OS: Windows 9x/NT
; Author: Jonathan Bennett (jbennett@hidden.demon.co.uk)
;
; Runs calc and does a few calcs, pauses then exits
MsgBox, 4, AutoIt Example, Run calculator automation script?
IfMsgBox, NO, Goto, denied
Run, calc.exe
WinWaitActive, Calcula
Send, 2*2=
Sleep, 1000
Send, {DEL}#4*4=
Sleep, 1000
Send, {DEL}#16*16=
Sleep, 1000
WinClose, Calculator
WinWaitClose, Calculator
denied:
Exit