PDA

View Full Version : Autoit Write Simple Scripts To Make Your



AnyOldGit!!
04-19-2003, 11:55 AM
Hi,
'have found quite a cool program for people who know very little (Like me)about scripting or programing but want to write scripts to do automated tasks.

Autoit (http://www.hiddensoft.com/)

Download the complete instaler then install the "full" package, its got loads of demo scripst mostly in .aut (auto it) and some visual basic script's. theres a big help file too.

Ive already written one to close AOL at a specified time but you could write one to open/close Kazza,Speed-up etc.

J'Pol
04-19-2003, 02:30 PM
Originally posted by AnyOldGit!!@19 April 2003 - 12:55
Hi,
'have found quite a cool program for people who know very little about scripting or programing but want to write scripts to do automated tasks.

Autoit (http://www.hiddensoft.com/)

Download the complete instaler then install the "full" package, its got loads of demo scripst mostly in .aut (auto it) and some visual basic script's. theres a big help file too.

Ive already written one to close AOL at a specified time but you could write one to open/close Kazza,Speed-up etc.
Once installed how do you run the program which is used to actually write the scripts.

Any help for a total luddite would be greatly appreciated.

AnyOldGit!!
04-19-2003, 03:41 PM
I found the best way to get the feel for it is to run the example script's first and then right click "edit script" to suss out the different commands etc.

To run this script open notepad.exe
Copy and paste all text from........ ;AOL to Exit ................, save changes ,close then re-name to "Aol logon.aut" double click to run it.


;AOL Start & Log on (;) tells computer to go to next line.

Run, C:\\Program Files\\AOL 7.0a\\aol.exe
;or the correct path on your PC

WinWaitActive, AOL, &Yes
;Says to wait for window box AOL (title).....& Yes (text in box)
Sleep, 6000
;wait 6 seconds

Send, {TAB}{ENTER}
;pushes the tab button then enter (This part tells Aol not to instal Real Player

Send, {TAB}{TAB}{TAB}{TAB}{TAB}{ENTER}
;This bit tab's to "sign On" then pushes enter

Exit
;Ends script


You can use "Auto it RevealMod.exe" Start>Programs>AutoIt to get text box names etc.

Just mess around with text files and rename them with an .aut extention.
Good Luck.
Maybey someone else with more experince woul explain it better?