Autoit Brief Information and Cheat Sheet: Installation Hints
Autoit Brief Information and Cheat Sheet: Installation Hints
Installation hints
Default action when double clicking on .au3 files Run script Type of install Full Version 3.3.0.0 is the current version. However, I have noticed that there is a bug in the help file that prevents the index portion of the help file from populating. If they run into that problem, you may need to check to see if the AutoIt.chw file is in C:\Program Files\AutoIt3. If not, I have gotten the .chw file to pop up when I opened AutoIt.chm, and then clicked on the Index tab. If that does not work, there are two other .chm files in that folder (AutoIt3 and UDFs3) that could be opened.
Language comparisons
Variables Comment Sending text Functions OML Abc1 (declare as $%&) hi mom CS.InsertText sheep Function name(name) name = value End Function (also sub) n/a Clipboard.GetText (PutText) MsgBox Text" Array(0) = A Array(1) = U AutoIt $Abc_1 ;hi mom Send(sheep) Func name (name) Return $value EndFunc Sleep() ClipGet(), ClipPut() MsgBox(0, title, text) $Array[0]="A" $Array[1]="U" Notes: Logic and Operator statements are similar between the two languages as well AutoIt only has one datatype - variant - that can contain string or numeric data.
Caveats
Speed o Millennium will be slower than the script. WinWaitActive and Sleep will help with timing, but be prepared to spend time getting the timing down. Windows o The script cannot read some of the text in the Millennium window. Selecting and copying window text or determining pixels patterns will help determine window text.
References
AutoIt homepage o http://www.autoitscript.com/autoit3/ Scripts Using AutoIt by Harvey E. Hahn o http://research.ahml.info/oml/AutoIt.html Automating Millennium and telnet tasks using Windows-based Scripting - Christina Hennessey o http://www.lmu.edu/Page39671.aspx IUG scripts page - Alan Brown o http://www.burysac.org.uk/iug.php AutoIt v3: Your Quick Guide, by Andy Flesner (OReilly Media, 2007) o http://oreilly.com/catalog/9780596515126/
Becky Yoose [email protected]
_ArraySearch