Sign in to follow this  
Followers 0
RAMMRODD

How did you learn AI?

23 posts in this topic

I'm wondering if people here are just computer geniuses or if you learned it another way.

Please share

chad

Share this post


Link to post
Share on other sites



I'm just a computer :).

Lots of help file reading, forum reading, and lots of common programming knowledge and know-how from years of experience with that type of thing.

Started with HTML, then Javascript, dabbled with the two of those for a long time, then one of my high school classes offered some simple programming (Turbo Pascal, and a little C). Then moved onto the server side of things with PHP and MySQL (even tried Perl, but couldn't get the hang of it). Then one day I found a script that someone posted in another forum, and the source was provided. I read through it, understood the basic gist of how it worked and figured AutoIt looked like a rather easy to learn/use language (compared to something like C or C++).

Hmm, that was longer than I intended it to be.

Share this post


Link to post
Share on other sites

alot of reading (help file + forum)

alot of writing (scripts)

trial & error

asking for help

... and good will ...


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites

Welcome to Autoit 1-2-3 ( in my sig below )

has helped many here

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

I looked at the scripts that others posted here.

Found the ones that I liked, for whatever reason.

Tried to run them.

I would then read the help file to learn about each function used.

Then I would try to change the script. Anything, just change the GUI title, the Message box text, anything.

Keep doing that, reading, learning.

Starting to write my own scripts. Even something simple. Read the help file. Keep adding. Keep improving.

When necessary, post a question in the forum, after checking the help file again, and searching for existing answers. Post my code, ask for advice.

This is a VERY good forum.


"I've seen your work in the past, and it's novice at best..." SmOke_N

Share this post


Link to post
Share on other sites

I can't even write a simple batch file without cursing, I've had no programing experience (and it shows).

But I'm not afraid to try logical solutions to get things done on my pc.

The AutoIt3 Help file has been a god send , as I'm not always able to be online.

But when I am online I go along the lines of what Automan Empire said.

Especialy the part about

This is a VERY good forum.

:)

Cheers

Share this post


Link to post
Share on other sites

I'm still trying to grasp the concept personally.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

more thoughts...

I usually create the GUI first, before I even know how I will make it work.

Create a GUI, add buttons, edit box, listview, labels, etc. while thinking about what I want the program to do, what information will be needed or displayed. All this is before it will do anything. Then I add "dummy" information to it, such as "This will display the following...". Keep adding and improving.

Then think about where to get the needed data to make the program do something. User input, reading a file, etc.

Read the help file to learn how to get the data into the program.

For text, learn the various string functions.

For numbers, learn the numeric functions.

Keep working at it, saving the work often (I save each incremental improvement with its own file name, such as ProgramXYZ1a.au3, ProgramXYZ1b.au3, etc.). If I screw it up and it doesn't work anymore, I go back to a previous version that works, and keep trying.


"I've seen your work in the past, and it's novice at best..." SmOke_N

Share this post


Link to post
Share on other sites

Awesome there is alot of great advice here and I will def try all of them. Its the beginning of the summer and I usually try to learn something new and AI is my summer project, I prob wont ever be a pro at it but just being able to do the simple things relatively easily will do fine for me.

and yes this is a GREAT forum haven't had anything but good things come out of the few posts i've had

chad

Share this post


Link to post
Share on other sites

When I started with Autoit I deeply read GREAT Autoit HelpFile with it's good examples.

For starters there are "must read" sections:

- Using AutoIt

- Language Reference

- GUI Reference

- Tutorials

When you are scripting then categorized Function Reference section is the right place for you ...

Share this post


Link to post
Share on other sites

I was scripting for Windows with DOS .bat/.cmd files that had gotten pretty elaborate*. I started looking at VBS, but there were so many things it wouldn't do with GUIs.

A co-worker had created an installer for one of our programs and it was great. One day we needed a change to that script, and the co-worker had moved to a different project and had no time to check it out. He told me it was done in AutoIt and I should just download it, decompile his installer and tweak it myself.

It's been an 18-month blur since then. Several dozen production scripts in use in our lab, and over 1,600 posts on this forum. Every time I've needed a new function I've been able to find examples here and learn from them. Now I'm dabbling in COM object because there are things you can't do without them.

Haven't done much just for academic purposes though. Each time, either I or someone else has needed it at the moment. That has left some weaknesses in my AutoIt-Fu. Like for .dll's. :D

:)

* If you must do such things, get your hands on a copy of the book, now out of print, Windows NT Shell Scripting by Tim Hill.


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

is that book on AutoIt? If so I'll have to get it, I need some reading material for the summer

Share this post


Link to post
Share on other sites

is that book on AutoIt? If so I'll have to get it, I need some reading material for the summer

No, it's on shell scripting in Windows (DOS batch files). I have a book called "Windows Admin Scripting, Little Black Book" by Jesse Torres. It mentions AutoIt, but only in passing - now I want my money back!

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

I read the help file. I did not understand how I was going to use most of the functions, but at least I had a vague idea of what was available.

Some people like posts like this one:

http://www.autoitscript.com/forum/index.ph...ost&p=98319

to learn from...

-MSP-


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

#18 ·  Posted (edited)

I learned AutoIt almost entirely through the help file. If all languages had a help file like AutoIt, it'd be a piece of cake learning even machine code.

When I didn't know if something would work or that the language would accept it, I just tried and experimented to see what happened.

Way after I considered myself to be a good AutoIt scripter, I joined the forums. I learned most from the forum neither from responding, nor asking, but from simply reading other people's problems and learning from them.

That, and I started AutoIt after javascript, HTML, PHP, ASP, PERL, C/C++, etc. so it was nice and simple by comparison.

Edited by Creative

"Everything is vague to a degree you do not realize till you have tried to make it precise." - Bertrand Russell [The Philosophy of Logical Atomism]

Share this post


Link to post
Share on other sites

#19 ·  Posted (edited)

I came to AI because i had started using another, particularly crappy, scripting language to create macros for a game i was playing and i ran out or trial time, so i looked for a new, free, scripting language and i found AutoIt, i was impressed with the power of the language and taught my self how to script using the script recorder output and the help file, eventually i found this forum and moved on to more advanced scripts.

EDIT: Shouldn't this be in the chat forum? Not complaining, or flaming or anything, just noticing.

Edited by smstroble

MUHAHAHAHAHA

Share this post


Link to post
Share on other sites

I learned AutoIt mostly with the great helpfile and partly by looking at examples in Example Scripts.


My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.

Share this post


Link to post
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
Sign in to follow this  
Followers 0