Jump to content

Learning To Script with AutoIt V3


BrettF
 Share

Recommended Posts

Learning To Script with AutoIt V3

Document was last updated 17 February 2010

This 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 here

Learning 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 by BrettF
Link to comment
Share on other sites

'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

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

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

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 by BrettF
Link to comment
Share on other sites

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

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.

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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

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 V3

Document last updated 25 November 2008

AutoIt Version 3.12.2.1

Should be

AutoIt Version 3.2.12.1

Link to comment
Share on other sites

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

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 be

Woops! Thanks. Will update it soon :)

This is great BrettF!. Heroic work.

Thanks!
Link to comment
Share on other sites

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

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 o:). 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 by dbzfanatic
Link to comment
Share on other sites

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 o:)

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... :S

EDIT: Typo and I almost did the same typo. Hahahahha :)

Edited by BrettF
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...