home *** CD-ROM | disk | FTP | other *** search
- ; Example Script
- ; ==============
- ;
- ; OS: Windows 9x/NT
- ; Author: Jonathan Bennett (jbennett@hidden.demon.co.uk)
- ;
- ; Runs notepad, types stuff in, pauses then exits
-
- MsgBox, 4, AutoIt Example, This will run Notepad type in some text\, and then quit. Run?
- IfMsgBox, NO, Goto, denied
-
- Run, notepad.exe
- WinWaitActive, Untitled -
- Send, aAbBcCdDeEfF {!}"$\%{^}&*()_-{+}=#{ENTER}
- Sleep, 1000
- Send, 12345678
- Send, {BS 4}#{BACKSPACE 4}
- Send, !{F4}
- WinWaitActive, Notepad, save the changes?
- Send, !n
- WinWaitClose, Untitled - Notepad
-
- denied:
- Exit
-
-
-