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
/
Notepad.aut
< prev
next >
Wrap
Text File
|
1999-09-15
|
570b
|
27 lines
; 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