Random Homebrew: VideoPSpy
hides movies and pictures
Friends: Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita

Programming With AutoItv3 (AU3)

Programming on your favorite platform, for your favorite platform? Post here

Programming With AutoItv3 (AU3)

Postby ReaperX » Thu Jun 21, 2012 1:14 pm

Anyone Heard of this before? (Website Below)

AutoIt Website wrote:AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages. AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box.


Website: Link
Forum: Link

This is a very easy and fun Scripting language to learn. It only took me a few days to learn the basics and im still learning more about it now. Below are some Applications i Created. Let Me know if One of them doesnt work.

Process Manager.rar
(2.37 KiB) Downloaded 22 times

Text Editor.rar
(4.07 KiB) Downloaded 21 times


You Need to Install AutoItv3 to Your PC to use the Text editor. The compiled script wont work in a different directory. Its in my coding probably. Sorry.

If Find it Best to Use the SciTE Editor For Au3.

Create a Basic GUI Window
Code: Select all
#NoTrayIcon ;Optional - Takes a Away Tray Icon while GUI is Running

GUI() ;Declare Function Name First

Func GUI() ;Call Function (Start it)
   GUICreate("Basic GUI", 200, 200) ;Create GUI Window - Not Shown YET

   ;GUI Controls Can be Put Here to Create Objects. (Buttons, Edits, Inputs, ListViews, Images, Ect.)

   GUISetState() ;Show Window. Others Options may be used Like: GUISetState(@SW_HIDE) To Hide the GUI Window (@SW_SHOW to Show it)

   While 1 ;Loop to Keep the GUI Running
      $iMsg = GUIGetMsg() ;Checks for Actions in the GUI Like Button Clicks, Exiting the GUI, Menu Actions, Ect. ($iMsg is the Variable used to Access the Actions.
                     ; A Different Var Name can be Used if you Like.
      Switch $iMsg ;Use the $iMsg Var to Get the Actions and Determine what to Do on a Specific Action.
         Case -3 ;'Case' is Used to Ask if A Certain event occurs and If So, Acts on it According to What you put Below it. Like Exit
               ;'-3' Can be used to Ask if the Red X in the Top Right of the Window is Clicked.
            Exit ;Closes the GUI Window
      EndSwitch ;Closes the Switch loop (Doesnt Exit Window)
   WEnd ;Closes While Loop
EndFunc ;Ends Function and Starts While Loop Again (Provided there are No Arguments)
PSP Information
PSP Model: 2000 (Slim)
PSP Motherboard: TA-088v3
PSP Firmware Version: 6.20 PRO-C F3

Make it idiot proof and someone will make a better idiot.
User avatar
ReaperX
 
Posts: 551
Joined: Fri Jan 21, 2011 2:04 am
Location: Georgia

Re: Programming With AutoItv3 (AU3)

Postby m0skit0 » Thu Jun 21, 2012 2:33 pm

I already knew about this tool, but I prefer Perl, it's more flexible and way more powerful. But thanks for sharing anyway :)

PS: Windows people trying to script. They need GUI. :lol:
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Re: Programming With AutoItv3 (AU3)

Postby AsDraS » Fri Oct 12, 2012 1:14 pm

This programming language is perfect to control other windows and make simple programs but as soon as you make bigger programs its too slow.. i used it to make a two player pong game, tetris and snake a long time ago and it was already laggy on an older computer when i used a background^^ But i still use it nearly every day at work because working gets so much easier and faster when a program helps you :lol:
My Pc: i7 3930K @4.5GHz, 16gb ram, 2x gtx 580 (2x3gb version), 2x 128GB SSD, 12TB HDD :D
PSP: CFW 5.50
PsVita 1.81:
-Urbanix eCFW-B2
-GravityCrash eCFW-C with PSX support
-MBA eCFW-C
AsDraS
 
Posts: 25
Joined: Mon Oct 08, 2012 5:12 am
Location: Switzerland

Re: Programming With AutoItv3 (AU3)

Postby 4ich » Fri Oct 12, 2012 2:12 pm

yes i know it too
i love it cause its so simple and it has an help database with all funktions how to use
so i programmed a few "bots" for browser games with "mouseklick" so that i only have to start it and it collects all resources
also i made an prog that closes all windows and shuts down windows after an amoung of time so that i can go sleep without that i need to do it myself

i like it but i only know the basics
Check out "ConsoleHeaven.net.ms" its an empty hacking forum that is hungry for users / we build it up =)
4ich
 
Posts: 40
Joined: Fri May 25, 2012 11:43 am

Re: Programming With AutoItv3 (AU3)

Postby AsDraS » Fri Oct 12, 2012 3:37 pm

Right its very nice for bots :D
When i played farmville i made a script which planted and earned on its own xD i did this with a function which searches for matching images but i dont know anymore what it was called.. Coolest part was when i reached a higher level in a few days than a friend who played it for months xD
My Pc: i7 3930K @4.5GHz, 16gb ram, 2x gtx 580 (2x3gb version), 2x 128GB SSD, 12TB HDD :D
PSP: CFW 5.50
PsVita 1.81:
-Urbanix eCFW-B2
-GravityCrash eCFW-C with PSX support
-MBA eCFW-C
AsDraS
 
Posts: 25
Joined: Mon Oct 08, 2012 5:12 am
Location: Switzerland

Re: Programming With AutoItv3 (AU3)

Postby svenn » Mon Oct 15, 2012 10:05 am

"Auto-it" as in bots ;-)

Its an old tool ;) Unless you need a easy click/sendbutton language I din't feel it to be so usefull.

But its a nice and handly language for some purposes. thx for sharing :)
svenn
 
Posts: 45
Joined: Fri Dec 24, 2010 5:17 pm


Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests