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