Nov 21, 2009

Your First Autoit - Learning To Code..

free web hosting
Open Discussion > MODERATED AREA > Tutorials

Your First Autoit - Learning To Code..

bounda
Autoit is a simple, yet powerful programming language, it allowed the creation of the pangea desktops, and the Remote Pc Control with a cell.. You can learn it too. Here is the first of several lessons i will post inside of this topic. It is a 32 bit program, it doesnt work on windows 98, 95, and i dont think (THINK) Windows ME

Step 1: Download and install the latest version of autoit from http://www.autoitscript.com i prefer that you use beta.

Step 2: Right click somewhere on your desktop or my documents, and mouseover new and click Autoit V3 Script

Step 3 (optional but recomended):Download and install SCiTE from here http://www.autoitscript.com/autoit3/scite/downloads.php

Step 4: Right click your New autoit v3 script, and click edit, here we go!

Step 5:For your first script, we'll be doing a simple msgbox, type in msgbox(1, "Title", "Body")

msgbox is a command used to create a common box, 1 stands for the style like if it has ok, cancel and such, title is title and body is the body,

Step 6: Save it and Run it! A popup should come up saying body, with the window name title, experiment with this by adding several new message boxes, you will notice it wont close when u x it unless it is the last box.

Step 7: Select all and delete, time for someting new! Time for a little lesson, first:
$ represents a variable, these can change at different times. Type this in the empty file.

$name = inputbox("Name", "What is your name?")
sleep(500)
msgbox(1, "Name", "Your Name is" & $name)

Run this and see what happens =D, experiment with it!

This is the end of the first lesson, good luck and post back!

 

 

 


Comment/Reply (w/o sign-up)

beeseven
I've heard of Autoit before and wondered what it was. This tutorial doesn't really seem to have a lot of 'meat,' though. A good tutorial should give you enough information to do something.

Comment/Reply (w/o sign-up)

sportytalk
I haven't heard of a programming language called autoit before. Also, as it doesn't support many of the Windows operating systems, I don't think i'll bother learning it. I think i'll stick with C or c++ for now.
Anyway, thanks for sharing, is always interesting to know of different programming languages you've never heard of before!

Comment/Reply (w/o sign-up)

iGuest-AlZri
Can you doing this??
Your First Autoit

Thank you,but where is the second lesson can you giving the link in this page 

-reply by AlZri

Comment/Reply (w/o sign-up)

iGuest-Fusion
WTF M8?!
Your First Autoit

SportyTalk !***! are you talking about, saying it is not compatible! Check this: http://www.Autoitscript.Com/autoit3/

/INTRODUCTION

+ Compatible with Windows 95 / 98 / ME / NT4 / 2000 / XP / 2003 / Vista /

I think you should take a bath with your toaster!

-reply by Fusion

Comment/Reply (w/o sign-up)

iGuest-Hunter
This helped me tons.
Your First Autoit

Thank you this a great little guide kind of thing you have set up here.

-reply by Hunter

Comment/Reply (w/o sign-up)

acricket
yeah i agree i been using this soft for a long time its awesome, smile.gif

Comment/Reply (w/o sign-up)

(G)
Here
Your First Autoit

thankls man, I'm so grateful I will give you all my auto clicker. YAY ME!

THIS IS COPYRIGHTED BY ME, I WILL SUE YOUR *** IF YOU ADVERTISE SOMEWHERE ELSE AND CALIM AS YOUR OWN!

HotKeySet("{f2}","onoff")
HotKeySet("{F3}","exitapp")
Dim $click = False
$name = inputbox("John's AutoClicker", "What speed do you want the auto clicker to run at? NOTE, speed goes in 1/1000 of a second, so five seconds would be 5000, And in order to reset this app you need to reset the auto clicker")
Sleep (500)
MsgBox (1, "John's AutoClicker", "Running at delay of " & $name)
MsgBox (1, "John's AutoClicker", "Push f2 to start/stop and f3 to exit.")

Func onoff()
   If $click = False Then
      $click = True
   Else
      $click = False
   EndIf
EndFunc


Func exitapp()
   Exit
EndFunc

While True
   If $click = True Then
      MouseClick("left")
   sleep ($name)
   EndIf
WEnd
 


Keywords: how to code autoit

 

 

 


Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : autoit, learning, code

  1. Create Dynamic Html/php Pages Using Simple Vb.net Code
    Taking your application data, and creating a webpage for others to vie (1)
  2. Add Flashing Inbox To Invisionfree Forum
    Html code for invsiionfree!! (2)
    Do you find it annoying when you are on your invisionfree forum, and you get a new message, and it
    ends up taking you 5 minutes to notice? This code makes the inbox link flash bold red saying how
    many messages you have. In version 1 the word inbox stays the same, and doesnt change at all (for
    Example this is flashing: Inbox (2) In version 2 (the second code) the word inbox changes to
    messages (constantly, so that if you have none, it says messages (0) instead of inbox (0). It still
    flashes Red Put the following In the Header and Body Section (Admin Cp>>>Skinning ....
  3. [php] Clean Code Functions
    Clean up your html output from php scripts (5)
    There is another Topic about writing 'clean' HTML code posted elsewhere on the Forum.
    I'll edit this Topic and add the link so you can review it on your own, and there is no need for
    me to comment on it in this thread, but the purpose of this Topic is to introduce a pair of
    functions which can be used for making sure that the HTML output from my scripts is readable when a
    view-source is reviewed. Two handy functions are included here. They work together quite nicely,
    and I will start this Tutorial with a short summary of the reasons for their 'being....
  4. Learning Coldfusion Part 1
    LEARN CF... GRADUALLY INCREASE YOUR KNOWLEDGE OF COLDFUSION (0)
    Hello, I havent really seen to many coldfusion tutorials around. I also looked for some on here
    which I couldnt find any... (Must have over looked if I did'nt see it). Anyways we are going
    to be learning the basics of ColdFusion and from now on I may refer to it as CF so please do not get
    confused. CF is a very powerfull scripting language, it is a easy transistion if you know PHP, and
    is also easy to learn if you do not. In CF you have diffrent operators styles and IF formats.
    Example: PHP Operators in a IF statement if( var1 == var2 ){ // What Happens H....
  5. Nice Clean Php Layout Coding.
    Learn a nice neat way to code your layouts with php (7)
    There are basically two main ways to code your php. Method 1) Creating a php document with an html
    look. The you throw in include tags all over the place. Its unorganized, and you have lots of stray
    files hidden in folders and scattered in your base directory. Its difficult to organize, and you
    make mistakes easily. Example: This document would be called index.php Whatever
    Banner or something Some content here. Mostly along the lines of You might ask what
    the problem was? Well, those include tags tend to multiply, and so do all those unne....
  6. Do You Want To Use Php Code In Your Html Pages?
    Within two minutes you will! (9)
    Whilst searching around for help to setup cutenews blog I came across a way to use php in html pages
    - lo and behold it works! so I thought I'd share it with you all (Unfortunately I can't
    remember the site so I wrote this up a couple of minutes after I did it:) ). This method requires a
    web server with apache installed. So, luckily for us all this covers the whole of Trap17... even
    Qupis /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> Just
    to make the point, this is in no way a difficult task and it doesn't require yo....
  7. Php Spy Code
    Spy on your site! (21)
    Code Spy Code Description Anyone who comes to ur forum's IP Adress, Site they came From,
    Their Browser and the time they came will get saved in a place that only the admin knows the
    location of... V.2 More features coming up in V.2!!! POst suggestions/problems... Preview:-
    http://s15.invisionfree.com/Spy/index.php ? REFRESH THE PAGE, AND GO HERE:-
    http://h1.ripway.com/programming/spy%20code/spy.html ^^^^^^^That shows all the IP's, Browsers,
    Time, site and stuff....^^^^^^^^ Code First of all, you'll need to host the files.... I
    suggest you make....
  8. Learning Vb
    Part 2 -- Various Techniques (1)
    Notice: Coding between compilers may vary. For example, "messagebox.show()" is the message prompt in
    Express Edition whereas "msgbox()" is the prompt in Visual Basic 6.0. All code in this guide is
    Express Edition. In part on, we learned the basics of Visual Basic, including Strings and Integers.
    Once you feel comfortable with it, you can move onto this part. As said before, the beginning part
    of learning is the hardest. Since this is still the beginning, you may struggle on some things.
    Don't worry though; things are repeated numerous times. First off, we are going....
  9. Css Based Photo Gallery Code
    Fluid design for layout (3)
    Fluid Design Photo Gallery There are quite a few Topics here on the Trap17 Forum about how to
    set-up and use Photo Galleries and about the link code for getting from a Thumbnail Image to a full
    size Image and all that stuff, so I would like to take this "Photo Gallery" concept one step further
    without covering what others have already supplied instruction for. Usually, when there is a
    solution posted here for the code on "how-to-do-this", there are tables involved and the Links are
    placed inside Table cells. Tables are not neccesarilly a bad thing, but they were n....
  10. Learning Vb
    Part 1 -- The Basics (5)
    NOTE: This guide assumes you know how to operate your compiler, meaning create objects and forms.
    This guild will only teach you the scripting. Almost all program users and game players alike want
    to create their own software, whether it being a massive game, an easy-to-use calendar, or maybe
    even a hack. However, they must master, or at least know much about a programming language. If
    you've ever seen a Source Code , a text code written by a programmer and execute tasks by a
    computer, you'll know how much time and effort it takes to learn these nevertheless ....
  11. Handy Javascript Code Snips
    Ready to Apply in your webpage (5)
    /tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif' /> Some common things to
    implement in our webpage very frequently are as follows. How to implement all these I am going to
    tell you in this tutorial. Add To Favorite Set As Homepage Go To Top Of Page No Right Click
    Print Page Adding Current Date Adding Current Time Pop-Up Page Creation Closing Window
    Copyright Notice Updation 01. Add To Favorite Someone may be interested in the content of your
    page. Offer him/her to add the page in his/her favorite menu. To do this you have ....
  12. 'make' A Virus To Test Your Norton Antivirus
    Not a harmful code (0)
    This code is to simply check if your Norton Antivirus is working probably. Not sure if it will work
    on other AVs. The following code is provided by EICAR. QUOTE
    X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!SH+H* Copy the content from the
    code into Notepad and save it as 'eicar.com' If your Norton AV is working probably a pop up
    of a Virus Alert should pop up and removed the virus immidiately. ....
  13. How To Put A Phpbb Login Box On Your Main Site.
    Code and .php included!!! (19)
    I have included my coded file with this... Ok here is the code. CODE // //Create login area,
    replace the phpBB2 in /phpBB2/login.php with your forum's //directory //   Prank Place
    Forum Index     Please enter your username and password to log in.        
                  Username:                   Password:      
                Log me on automatically each visit:                    
    I forgot my password         You can test this out on my....

    1. Looking for autoit, learning, code

Searching Video's for autoit, learning, code
See Also,
advertisement


Your First Autoit - Learning To Code..

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com