home *** CD-ROM | disk | FTP | other *** search
- ; 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
-
-
-
-