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
/
IfEqual.aut
< prev
next >
Wrap
Text File
|
1999-09-14
|
601b
|
25 lines
; Example Script
; ==============
;
; OS: Windows 9x/NT
; Author: Jonathan Bennett (jbennett@hidden.demon.co.uk)
;
; Script to show how the MsgBox, InputBox and IfEqual commands work
;
MsgBox, 4, AutoIt Example, Script to demonstrate variables and input boxes. Run?
IfMsgBox, NO, Goto, denied
InputBox, MyVar, Example, Please enter the word: WOMBLE
IfEqual, MyVar, WOMBLE, Goto, match
MsgBox, 0, Example, You didn't type the correct word! You typed: %MyVar%
Exit
match:
MsgBox, 0, Example, Well done! You typed in the correct word! You typed: %MyVar%
denied:
Exit