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
/
Adlib.aut
< prev
next >
Wrap
Text File
|
1999-09-14
|
594b
|
28 lines
; Example Script
; ==============
;
; OS: Windows 9x/NT
; Author: Jonathan Bennett (jbennett@hidden.demon.co.uk)
;
; Runs notepad, types stuff in, pauses then exits (using Adlib)
MsgBox, 4, AutoIt Example, This will run Notepad type in some text\, and then quit (using Adlib). Run?
IfMsgBox, NO, Goto, denied
Run, notepad.exe
WinWaitActive, Untitled -
Send, aAbBcCdDeEfF {!}"$\%{^}&*()_-{+}=#{ENTER}
Sleep, 1000
Send, 12345678
Send, {BS 4}#{BACKSPACE 4}
Send, !{F4}
WinWaitClose, Untitled - Notepad
denied:
Exit
[Adlib]
Notepad, save the changes?, Send, !n