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
110
votes
7 answers

Choosing a Windows automation scripting language. AutoIt vs Autohotkey

I need to choose a Windows automation scripting language. Which one do you recommend; AutoIt, AutoHotkey, or an other? I have read "An AutoIt / AutoHotkey comparison". Interesting history, but without recommendation. Searching Google leaves around…
PA.
  • 28,486
  • 9
  • 71
  • 95
35
votes
5 answers

Autoit Recorder not available

From here I downloaded: SciTE4AutoIt3.exe SciTE.exe But AutoIt Recorder is not in the tools menu. Also tried downloading AutoIt Recorder, though I could not. How to get AutoIt Recorder?
Natasha
  • 507
  • 2
  • 7
  • 12
22
votes
2 answers

Calling AutoIt Functions in Python

I have seen this post mentioned there is an AutoIt3 COM version, and with it I can call AutoIt functions in Python. I couldn't find the COM version at the AutoIt website. Is it hidden somewhere? How can I get it?
Wang Dingwei
  • 4,661
  • 6
  • 32
  • 43
19
votes
3 answers

send code from vim to an external application for execution

I am regularly using stata at work. My text editor of choice is (g)vim. I have been using the scripts provided here or here to send code from vim to stata. This functionality is immensely practical and virtually the only thing the keeps me from…
ilprincipe
  • 856
  • 6
  • 23
13
votes
1 answer

How to click buttons in an application using AutoIt or Windows UI Automation

Setup Environment: I'm using vb.net to develop a Windows Form Application with .NET Framework 4. My goal: Open calculator.exe using Process.Start Using all vb.net code, be able to click 5 + 5 = I do not want to use SendKeys as a method. After…
Brock Gion
  • 926
  • 2
  • 9
  • 21
10
votes
2 answers

Getting Python and AutoIT to work together using win32com: what's up with those window handles?

I have a program with a GUI interface whose initial set-up I need to do manually. AutoIt has been superbly helpful for that so far, as it provides very easy ways to work even with complex-to-access GUI objects (drop down lists, appear-on-hover…
user1146222
10
votes
3 answers

Send an email with AutoIt

How to send an email with AutoIt? Just need a clean example and explanation, containing: to from subject message
Christopher Peterson
  • 983
  • 7
  • 22
  • 32
9
votes
2 answers

AutoIt best practices / coding style

I maintain Autoit project used for automated testing of swing app. Those tests have now about 70 files. It's get pretty hard to maintain all this code without following some "best practices" I'm trying to create as much functions as possible…
UltraMaster
  • 1,054
  • 1
  • 11
  • 23
9
votes
4 answers

Keeping remote desktop session "alive"

I'm using AutoIt to automate GUI operations (connecting to the machine that's running the to-be-automated app, using RDP). Whenever I minimize the RDP window (using mRemote) no further AutoIt commands are performed. Maybe the RDP session is marked…
lysergic-acid
  • 19,570
  • 21
  • 109
  • 218
9
votes
1 answer

Use ImageSearchDll.dll in Java ( from AutoIt ) edit: JNA

I want to react on a screen event in my Java Programm so i want to find a Image in my actual screen. I tried to write a method to get a Screenshot from the robot class and then search the pixels - but it took way to long. I know that in AutoIt there…
Dominik
  • 133
  • 1
  • 9
8
votes
6 answers

How to Winwait for two windows simultaneously in AutoIt?

I would like to know if its possible to WinWaitActive for WindowWithThisTitle and WindowWithThatTitle at the same time. I'm executing a command and there could be a window telling me that the connection failed or a user/pass dialog coming up. Is…
MemphiZ
  • 766
  • 2
  • 13
  • 29
8
votes
4 answers

How to give commands in a CMD window using AutoIt (*.au3) scripts?

What I have tried and didn't work: I opened cmd.exe Typed "cd\" >> without quotes Pressed Enter Typed "cd C:\Program Files (x86)\Jenkins" Pressed Enter Typed "jenkins.exe start" Pressed Enter I have also used the sleep command after every type,…
paul
  • 4,333
  • 16
  • 71
  • 144
8
votes
1 answer

Passing a function as parameter in AutoIT

I have a few functions with the same structure (simplified): func moveFiles() local $error = 1 For $i = 1 to 100 updateProgress($i) updateStatus("Processing " & $i & "/100 files") $error *=…
Aerus
  • 4,332
  • 5
  • 43
  • 62
7
votes
1 answer

Continue a command on the next line

Is there a way to continue a command on a new line? My MsgBox() function call is long, for the sake of readability I want to do something like this: $confirm = MsgBox(321, "Check Information", "Confirmation Number: " & @LF & …
Anthony Miller
  • 15,101
  • 28
  • 69
  • 98
6
votes
2 answers

Get form name from iframe using AutoIt

I am using AutoIt to automate filling in forms on a website. But I am having a problem getting the form name from a website. I look at the source of the HTML and find form and its name, but I still get a IEStatus_noMatch error. Is there an easier…
Whitecat
  • 3,882
  • 7
  • 48
  • 78
1
2 3
99 100