Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Learning To Script with AutoIt V3


  • Please log in to reply
111 replies to this topic

#1 BrettF

BrettF

    My Drunk Monkey Guerilla is gonna getcha!

  • MVPs
  • 7,662 posts

Posted 25 November 2008 - 07:06 AM

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
Attached File  Learning to Script with AutoIt V3 (Last Updated 17 Feb 2010).zip   883.52KB   58899 downloads(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, 17 February 2010 - 04:03 AM.

  • Valero and 232showtime like this







#2 GEOSoft

GEOSoft

    Sure I'm senile. What's your excuse?

  • MVPs
  • 10,573 posts

Posted 25 November 2008 - 07:13 AM

'Tis a fine job you've done M8.
Guess I'll download the update tomorrow (November 25) :)
GeorgeQuestion 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!"

#3 Archer

Archer

    Seeker

  • Active Members
  • 23 posts

Posted 25 November 2008 - 07:14 AM

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.

#4 Archer

Archer

    Seeker

  • Active Members
  • 23 posts

Posted 25 November 2008 - 07:15 AM

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

#5 BrettF

BrettF

    My Drunk Monkey Guerilla is gonna getcha!

  • MVPs
  • 7,662 posts

Posted 25 November 2008 - 07:16 AM

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, 25 November 2008 - 08:04 AM.


#6 ken82m

ken82m

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 628 posts

Posted 25 November 2008 - 07:24 AM

Nice work :)
My ContributionsPC Builders Console - Secure PDF Creator - Cisco VPN Installer MS DNS Server Backup Script - MS DHCP Backup Script IT Admin Console - Toggle Admin Mode - MyMovies-Add Discs ScriptIT Help Desk and System Information ToolSet On Lid Close Power Option - Streaming Media Server & Website”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.”

#7 BrettF

BrettF

    My Drunk Monkey Guerilla is gonna getcha!

  • MVPs
  • 7,662 posts

Posted 25 November 2008 - 08:24 AM

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.

#8 987learner

987learner

    Seeker

  • Active Members
  • 29 posts

Posted 25 November 2008 - 11:16 AM

Thanks for sharing this. It is more in details & more examples than the help file. :)

#9 BrettF

BrettF

    My Drunk Monkey Guerilla is gonna getcha!

  • MVPs
  • 7,662 posts

Posted 25 November 2008 - 11:24 AM

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

#10 987learner

987learner

    Seeker

  • Active Members
  • 29 posts

Posted 25 November 2008 - 12:37 PM

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

#11 November

November

    AutoIT for fun and pleasure only!

  • Active Members
  • PipPipPipPipPipPip
  • 515 posts

Posted 25 November 2008 - 12:56 PM

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

 

Remember Remember The Fifth of November.


#12 BrettF

BrettF

    My Drunk Monkey Guerilla is gonna getcha!

  • MVPs
  • 7,662 posts

Posted 27 November 2008 - 12:16 PM

How is it? Any comments?

Cheers,

Brett

#13 Zedna

Zedna

    AutoIt rulez!

  • MVPs
  • 8,794 posts

Posted 27 November 2008 - 03:40 PM

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



#14 martin

martin

    ~~\o/~~~/0\=¬''~~~

  • MVPs
  • 7,321 posts

Posted 27 November 2008 - 04:30 PM

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.

#15 BrettF

BrettF

    My Drunk Monkey Guerilla is gonna getcha!

  • MVPs
  • 7,662 posts

Posted 27 November 2008 - 09:04 PM

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!

#16 TehWhale

TehWhale

    Whalee..

  • Banned (NOT IN USE)
  • 1,482 posts

Posted 27 November 2008 - 09:13 PM

Dude brett, this is amazing! It is so detailed, and its printable, along with exercises and even a "worksheet"!

AWESOMEE!!!

#17 bo8ster

bo8ster

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 1,189 posts

Posted 28 November 2008 - 05:00 AM

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)Brett F's Learning To Script with AutoIt V3Valuater's AutoIt 1-2-3, Class... is now in SessionContribution: Get SVN Rev Number, Control Handle under mouse, A Presentation using AutoIt, Log ConsoleWrite output in Scite

#18 Andreik

Andreik

    Bishop

  • Active Members
  • PipPipPipPipPipPip
  • 2,592 posts

Posted 28 November 2008 - 08:36 AM

Nice work BrettF.
It will be very useful your tutorial for many people. :)
When the words fail... music speaks

#19 dbzfanatic

dbzfanatic

    functional psychopath!!

  • Active Members
  • PipPipPipPipPipPip
  • 1,090 posts

Posted 28 November 2008 - 10:03 AM

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, 28 November 2008 - 10:30 AM.


#20 BrettF

BrettF

    My Drunk Monkey Guerilla is gonna getcha!

  • MVPs
  • 7,662 posts

Posted 28 November 2008 - 12:18 PM

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, 28 November 2008 - 12:29 PM.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users