Questions tagged [autoit]

AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting.

AutoIt 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 (for example, VBScript and SendKeys). AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box with no annoying “runtimes” required!

AutoIt was initially designed for PC “roll out” situations to reliably automate and configure thousands of PCs. Over time it has become a powerful language that supports complex expressions, user functions, loops and everything else that veteran scripters would expect.


Features

  • Easy to learn BASIC-like syntax
  • Simulate keystrokes and mouse movements
  • Manipulate windows and processes
  • Interact with all standard windows controls
  • Scripts can be compiled into standalone executables
  • Create graphical user interfaces (GUIs)
  • COM support
  • Regular expressions
  • Directly call external DLL and Windows API functions
  • Scriptable RunAs functions
  • Detailed helpfile and large community-based support forums
  • Compatible with Windows 2000 / XP / 2003 / Vista / 2008 / Windows 7 / Windows 8 / 2008 R2
  • Unicode and x64 support
  • Digitally signed for peace of mind
  • Works with Windows Vista’s User Account Control (UAC)

AutoIt has been designed to be as small as possible and stand-alone with no external DLL files or registry entries required making it safe to use on servers. Scripts can be compiled into stand-alone executables with Aut2Exe.

Also supplied is a combined COM and DLL version of AutoIt called AutoItX that allows you to add the unique features of AutoIt to your own favourite scripting or programming language.


Resources

Related

1756 questions
3
votes
1 answer

Java Copying to Clipboard

I am writing simple application in Java. Program gets data from Clipboard, convert it, and send it to Clipboard again. The problem is, that not always this data is send back to clipboard and I dont know why. Could you help me? import…
bugZ
  • 466
  • 5
  • 19
3
votes
3 answers

Full and true automation with Watir and AutoIT

We use Watir with AutoIT for testing our web apps with IE on Windows. The AutoIT is used where Watir falls short in handling native Windows dialogs (like Windows File dialog for upload). Because of AutoIT, we are not able to run our tests using task…
Raj
  • 39
  • 2
3
votes
1 answer

How to mouse click on any java component without actual mouse being overridden

Currently to simulate mouse clicks in my application I use the Robot class of Java. It seems to use the desktop as bounds/grid for knowing where the Point maps out to on the screen. Example: Robot bot = new Robot(); bot.mouseMove(1099,22);…
Hesein Burg
  • 329
  • 3
  • 13
3
votes
4 answers

AutoIt - ControlClick does not work

I dont know how to make this working or I am missing something - maybe in #include ? at this point I have: #RequireAdmin #include #include ;vcdredist Run($sDrivers &…
Msmkt
  • 1,261
  • 16
  • 24
3
votes
0 answers

Detect coordinates of touchpad

I want to develop something like Synaptics touchpad gesture application. The Synaptics settings show x and y coordinates. Is there any software I can use? Like this code: $x_start = 300 $y_start = 300 While 1 If $ontouch == True Then …
shunz19
  • 495
  • 4
  • 13
3
votes
1 answer

Can I run an Autoit script in the background to upload a file

I have an AutoIt script that I call from my Java program that is using Selenium to load data through a web application. The script works to upload the file using the value from the file but only when the Java program runs in the foreground. Most…
Janet
  • 251
  • 1
  • 2
  • 11
3
votes
1 answer

Convert Cheat Engine base address

I found a memory address and used Cheat Engine's pointer scan to get referring pointers. To use it in a script I need a base address, which is [game.exe+009274]. How to convert this to an address for use in AutoIt script? I use NomadMemory.au3 UDF.
Jumperz Ko
  • 371
  • 1
  • 3
  • 14
3
votes
1 answer

What do the error code values for RunWait() mean?

Documentation for RunWait() lacks description of returned error codes. What do the different error code values mean?
Alexander Bird
  • 38,679
  • 42
  • 124
  • 159
3
votes
1 answer

Associating file extensions using commandline parameters

I am trying to associate two file extensions with my program (an .exe file), lets say that they are ext1 & ext2. I want to associate ext1 files with my program in a way that if it is shell executed, this commandline (or command) should run\execute:…
TheDcoder
  • 509
  • 1
  • 7
  • 23
3
votes
1 answer

AutoIT Create New, valid Excel File

How do I create a new, valid Excel file in Autoit? Local $sFileName = @ScriptDir & "\Worksheet.xls" Local $oExcel = _Excel_BookNew($sFileName, 10) creates an invalid one with 0 Bytes, which I cannot open.
HausUkrop
  • 61
  • 5
3
votes
0 answers

Selecting a field in GoToMyPC registration window

We deploy machines with GoToMyPC on them. Each has to be registered individually and until Windows 10 we were able to do this via AutoIt. With Windows 10 we can select the registration window but are unable to Send() keystrokes to the Email address…
klaauser
  • 39
  • 1
3
votes
1 answer

ControlGetHandle() and Internet Explorer's protected mode

If I run the following code: local $oBrowser = _IECreate("www.mywebsite.com") local $oHTMLWindow = _IEAttach("Text In Title", "embedded") I get two different behaviors (depending on Internet Explorer's protected mode configuration). Protected Mode…
Tal
  • 398
  • 4
  • 19
3
votes
1 answer

How to bring a window that appears always in background instead of foreground in pyautoit?

When I click a new window button, its always opens in background in Windows 7 64 bit OS. For my automation task, I need to bring that window to foreground. Following is my pyautoit code: autoit.send("{TAB 2}") sleep(3) autoit.send("{ENTER}") # After…
rcubefather
  • 1,534
  • 6
  • 25
  • 49
3
votes
1 answer

How to call AutoIt functions from a Protractor script?

I need to call AutoIt functions from a Protractor script (to open Notepad and copy its text, because I am not able to do so using just a Protractor script). How to call AutoIt functions from a Protractor script?
3
votes
1 answer

User interface becomes unresponsive when calling Sleep()

Sleep() is causing issues when pressing buttons. I have an If loop with random delays (up to 10 seconds) between each mouse move/-click. However, when Sleep() is called the script stops responding to clicks on Close and Stop buttons of its user…
JesterRM
  • 41
  • 4