BrettF Posted November 25, 2008 Share Posted November 25, 2008 (edited) Learning To Script with AutoIt V3Document was last updated 17 February 2010This document is for you if you are interested in learning to script with AutoIt. Where possible, I will try to assume that you have no prior coding experience and I aim to teach you some good general coding habits, which will be beneficial should you decide to move on to other languages.Download hereLearning to Script with AutoIt V3 (Last Updated 17 Feb 2010).zip(Previous Versions = 10152)The download contains the tutorial, example AU3 files contained in the text, printable exercise question/answer sheet and more.If you encounter any issues, with the text, please post them, but this is not a thread for requsting help or requesting scripts. Please do not PM me either. We have this wonderful support forum, so use it! Original Document: Alex Peters (LxP)http://yallara.cs.rmit.edu.au/~apeters/ Updated By: Brett Francis (BrettF)http://signa5.com Edited February 17, 2010 by BrettF 232showtime, mLipok, NJ and 1 other 4 Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
GEOSoft Posted November 25, 2008 Share Posted November 25, 2008 'Tis a fine job you've done M8. Guess I'll download the update tomorrow (November 25) George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
Archer Posted November 25, 2008 Share Posted November 25, 2008 Sorry I cannot dowload the PDF. -------------------------------------------------------------------------------- Sorry, an error occurred. If you are unsure on how to use a feature, or don't know why you got this error message, try looking through the help files for more information. Link to comment Share on other sites More sharing options...
Archer Posted November 25, 2008 Share Posted November 25, 2008 Sorry I cannot dowload the PDF.--------------------------------------------------------------------------------Sorry, an error occurred. If you are unsure on how to use a feature, or don't know why you got this error message, try looking through the help files for more information.After I replied this topic, I could download it. Thanks. Link to comment Share on other sites More sharing options...
BrettF Posted November 25, 2008 Author Share Posted November 25, 2008 (edited) Sorry guys. Uploaded the PDF instead of the full .zip file. Also please note there is a link to a video on installing. I've done the video to an okay standard, but I still need to upload it- which it doesn't seem to want to do. So all you will see at the link is a sample video... Hopefully the whole system I have implemented will be finished in the next few days. Cheers, Brett EDIT: Video is uploaded... Preview image still to come. Edited November 25, 2008 by BrettF Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
ken82m Posted November 25, 2008 Share Posted November 25, 2008 Nice work  "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains." Link to comment Share on other sites More sharing options...
BrettF Posted November 25, 2008 Author Share Posted November 25, 2008 Video uploaded. I lied about the quality. Its pretty bad when I look at it... Hahahahha. I will play around with settings and such to get a nicer quality video working... Basically its a small proof of like concept. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
987learner Posted November 25, 2008 Share Posted November 25, 2008 Thanks for sharing this. It is more in details & more examples than the help file. Link to comment Share on other sites More sharing options...
BrettF Posted November 25, 2008 Author Share Posted November 25, 2008 Impossible to have more examples than the helpfile! There are around 2000 different examples and the helpfile has way more detail! I just exaplain it differentl...! Thanks for your support though Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
987learner Posted November 25, 2008 Share Posted November 25, 2008 Impossible to have more examples than the helpfile! Don't fret. I'm not expecting more help files or examples. Since u explain it differently..., it is all that matters. Nice PDF. I can print & read leisurely on the bus now... Link to comment Share on other sites More sharing options...
November Posted November 25, 2008 Share Posted November 25, 2008 Nice work Brett, I really like it. Easy, smooth and fast learning. Step by step well done and incremented difficulty! A great startup manual for AutoIT! I Recommend it for new scripters! Keep the good work Cheers Old Scriptology Visual Ping 1.8 - Mass Ping Program with export to txt delimited. Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code. Desktop 2 RGB - Pick a color in the desktop and get the RGB code. ShootIT 1.0 - Screen Capture full and partial screen [font="'Arial Black';"]Remember Remember The Fifth of November.[/font] Link to comment Share on other sites More sharing options...
BrettF Posted November 27, 2008 Author Share Posted November 27, 2008 How is it? Any comments? Cheers, Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Zedna Posted November 27, 2008 Share Posted November 27, 2008 Hey man  GREAT job for beginners!!! I think this could be mentioned on main AutoIt's download page.---At top of PDF file is little mistake about AutoIt version:Learning to Script with AutoIt V3Document last updated 25 November 2008AutoIt Version 3.12.2.1Should beAutoIt Version 3.2.12.1 Resources UDF  ResourcesEx UDF  AutoIt Forum Search Link to comment Share on other sites More sharing options...
martin Posted November 27, 2008 Share Posted November 27, 2008 This is great BrettF!. Heroic work. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
BrettF Posted November 27, 2008 Author Share Posted November 27, 2008 Hey man GREAT job for beginners!!! I think this could be mentioned on main AutoIt's download page.---At top of PDF file is little mistake about AutoIt version:Should beWoops! Thanks. Will update it soon This is great BrettF!. Heroic work.Thanks! Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
TehWhale Posted November 27, 2008 Share Posted November 27, 2008 Dude brett, this is amazing! It is so detailed, and its printable, along with exercises and even a "worksheet"! AWESOMEE!!! Link to comment Share on other sites More sharing options...
bo8ster Posted November 28, 2008 Share Posted November 28, 2008 Thanks for that. Its great to be using a tool that has such great support. Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic] Link to comment Share on other sites More sharing options...
Andreik Posted November 28, 2008 Share Posted November 28, 2008 Nice work BrettF. It will be very useful your tutorial for many people. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
dbzfanatic Posted November 28, 2008 Share Posted November 28, 2008 (edited) This looks awesome Brett. When I saw "Simple Notepad" though I thought you were going to show how to make something like notepad, not automate it . I haven't had time to go through the PDF yet (it's 4am here) but if you want to show something like a notepad you could use my STE tutorial. Almost every line is commented to show what's going on. It's a mid-range tutorial, at least that's how I see it. It makes people think a bit about what they could add and how things work but it also gives a good solid base. Perhaps you could incorporate tutorials such as yours, Valuater's 1-2-3 class, and other tutorials like AlmarM's and my own into something like a tutorial CD? That way you would have tutorials, code examples, step-by-step help, and combinations of those in one location .Eidt: Going through the Exercises pdf I noticed that you have "1,2,4,4" a lot instead of "1,2,3,4". I'll post anything else I find . Edited November 28, 2008 by dbzfanatic Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
BrettF Posted November 28, 2008 Author Share Posted November 28, 2008 (edited) Thanks!@dbzfanatic- I might acutally do a simple notepad, because it does use everything that has been done before in the script. Sounds like a plane (vrrooom) plan I have thought about a CD, but I think we need some more tutorials to shove in there for it to be truely perfect... I will fix the excerices pdf too. The PDF maker I used also skipped some of them in the book marks of the main file too... :SEDIT: Typo and I almost did the same typo. Hahahahha Edited November 28, 2008 by BrettF Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now