[AutoIt]Installing and starting to code 09-03-2011, 06:35 PM
#1
Well i don't know but some of you must have heard of the powerful language, AutoIt. What can you do with it? Almost anything!!! there is no limitations!
Advantages:
Disadvantages:
Ok lets get started!
Download AutoIt3![[Image: download_autoit.png]](http://www.autoitscript.com/images/download_autoit.png)
Then install it
Download SciTe4AutoIt3
Then install it
Its the compiler. There is a SciTe in the autoit installation but this one has more features ;)
Now right click on your desktop > New > AutoIt v3 Script
Right click on the new file > Edit Script
SciTe will open :epic:
Lets start the coding! But first i should note another good thing about this language is that its not case sensitive :)
MsGboX
and
MSGBOX
and msgBoX
are the same and will work ;)
ok we are going to say hello world in a msgbox.
MsgBox Parameters
Button Flags:
0=OK Button
1=OK And Cancel
2=Abort, Retry, and Ignore
3=Yes,No and Cancel
4=Yes and No
5=Retry and Cancel
6=Cancel, Try Again, Continue
Icon Flags:
0=No icon
16=Stop-sign
32=Question-Mark
48=Exclamation-point
64=Information-sign
Default button Flags:
0=First button is the default
256=Second button is default button
512=Third button is default button
Style Flags:
0=Application
4096=System Modal
8192=Task Modal
Other Flags:
262144=Topmost msgbox
524288=Right alignd text and title
For having a OK And Cancel style msgbox we would do the flag as "1" but if we also want a stop icon we do 1+16 for the flag :yes:
MsgBox command format is like this:
the timeout and hWnd are optional but the rest is required.
Ok lets say hello world with knowledge we currently have :)
we use ";" for comments. They will appear in green :D
Now to execute the code in SciTe press "F5" ( for compiling to .exe press "F7" )
The msgbox will pop up! now if you have noticed in the button right a autoit icon will appear, in all autoit programs that will be active by default, you can disable it by typing:
Whats it used for? exiting unstable scripts like a fork bomb or pausing them =]
Now if you don't press OK it will disappear in 5 secs and the program will close :D
now lets try to msgbox the content of a variable.
variables start with $ in autoit just like PHP :dance:
You can declare it by one of these ways:
you can also give a value to it and no need for declaring if it has a value
now lets msgbox $something.
Strings can be either in " or ' it doesn't matter :)
You can read more info about the msgbox command in the help file ( its really the best help file i've ever seen :O ) for viewing it press "F1" while in SciTe
i think its enough for the intro :D ill post If statements in my next thread, ofc if anyone likes this one :(
- Make viruses
- Make bots
- Make trainers
- Make patchers
- Make RAT's
- Make DDoS'ers
- Make game bots
- Make custom workstation programs
- Make network programs
- Make OS optimization programs
- Make Keyloggers
- Make anti-viruses
- Make adware's
- Make HTTP RAT's
- Make keygens
- Make IRC Clients
- Make Chat Clients
- Make Torrent applications
- Make FTP clients
- Make malware removers
- Make automating programs for games ( WOW, Runscape, minecraft, ... )
- Make Gaming client
- Make Binders/Crypters
- Make Macro's
- ...
Advantages:
- No runtime dependency!
- Works with Wine
- Non-crashable
- RAD
- easy-to-use compiler
- Works with no GAC need
- Works on ALL Windows OS's
- x86 or x64 compile-able
- Quick-to-use windows API
- Quick-to-use windows constants
- Quick-to-use GDI+
- Rich content and active support forum
- FUD
- Mutex support
- Advanced GUI Generator
- COM support
- String Regular expression support
- Process and Environment controlling
- Can easily make the program run as administrator
- Easy-To-Use mouse and keyboard simulation
- ...
Disadvantages:
- No multi-threading support :(
- Big Executable file size
- GUI is coded ( Code can be generated in the Koda form designer so no worries ;) )
- and last but not least, I can't think of any other disadvantage :epic:
Ok lets get started!
Download AutoIt3
![[Image: download_autoit.png]](http://www.autoitscript.com/images/download_autoit.png)
Then install it
Download SciTe4AutoIt3
Then install it
Its the compiler. There is a SciTe in the autoit installation but this one has more features ;)
Now right click on your desktop > New > AutoIt v3 Script
Right click on the new file > Edit Script
SciTe will open :epic:
Lets start the coding! But first i should note another good thing about this language is that its not case sensitive :)
MsGboX
and
MSGBOX
and msgBoX
are the same and will work ;)
ok we are going to say hello world in a msgbox.
MsgBox Parameters
Button Flags:
0=OK Button
1=OK And Cancel
2=Abort, Retry, and Ignore
3=Yes,No and Cancel
4=Yes and No
5=Retry and Cancel
6=Cancel, Try Again, Continue
Icon Flags:
0=No icon
16=Stop-sign
32=Question-Mark
48=Exclamation-point
64=Information-sign
Default button Flags:
0=First button is the default
256=Second button is default button
512=Third button is default button
Style Flags:
0=Application
4096=System Modal
8192=Task Modal
Other Flags:
262144=Topmost msgbox
524288=Right alignd text and title
For having a OK And Cancel style msgbox we would do the flag as "1" but if we also want a stop icon we do 1+16 for the flag :yes:
MsgBox command format is like this:
Code:
Msgbox($flag,$title,$text,$timeoutinseconds,$hWnd)Ok lets say hello world with knowledge we currently have :)
Code:
msgbox(0,"Title","Hello World!!!",5) ;0 for no icon and 5 for timeoutwe use ";" for comments. They will appear in green :D
Now to execute the code in SciTe press "F5" ( for compiling to .exe press "F7" )
The msgbox will pop up! now if you have noticed in the button right a autoit icon will appear, in all autoit programs that will be active by default, you can disable it by typing:
Code:
#NoTrayIconWhats it used for? exiting unstable scripts like a fork bomb or pausing them =]
Now if you don't press OK it will disappear in 5 secs and the program will close :D
now lets try to msgbox the content of a variable.
variables start with $ in autoit just like PHP :dance:
You can declare it by one of these ways:
Code:
Dim $somethingCode:
Local $somethingCode:
Global $somethingyou can also give a value to it and no need for declaring if it has a value
Code:
$something = ""Code:
Dim $something= "Nothing here"Code:
Local $something="Nothing Here"Code:
Global $something="Nothing Here"now lets msgbox $something.
Code:
$something='hello world'
msgbox(0,"Title",$something,5)Strings can be either in " or ' it doesn't matter :)
Code:
$var = "zzz"Code:
$var= 'zzz'You can read more info about the msgbox command in the help file ( its really the best help file i've ever seen :O ) for viewing it press "F1" while in SciTe
i think its enough for the intro :D ill post If statements in my next thread, ofc if anyone likes this one :(
(This post was last modified: 11-02-2011, 10:39 PM by Skullmeat.)
Pierce the life fibers with your drill.




![[+]](https://sinister.li/images/modern/collapse_collapsed.png)
![[Image: d1ca3db3bfb73583e35697e.gif]](http://img546.imageshack.us/img546/3385/d1ca3db3bfb73583e35697e.gif)

![[Image: Z8KDe.png]](http://i.imgur.com/Z8KDe.png)