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