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
-1
votes
1 answer

Detect all occurrences of same image

My script recognizes the given image, but if two of the same images are present it will ignore the second one. I want to count it as found 2 times at different locations. There are five rows where the same text-image can…
Tweath
  • 124
  • 6
  • 24
-1
votes
1 answer

Why does my _IEFormSubmit not submit

I am automating this url- _http://graphic-dl.com/postsend?PostId=34026 Here is my code: #include Local $oIE = _IECreate("http://graphic-dl.com/postsend?PostId=34026") Local $oForm = _IEFormGetObjByName($oIE, "form0") Local $oText =…
-1
votes
1 answer

Automate Illustrator "Text Output Options" dialogue for batch exporting

I am trying to batch export 100s of Adobe Illustrator files but after each file a "Text Export Options" dialogue box comes up and I have to hit enter to continue. I would like to write a script to hit enter for me. I found an AutoIt script that…
Kyla
  • 1
  • 1
-1
votes
1 answer

Autoit ask for user input then paste that data

I would like to create an msgbox that asks for user data. Then take that data and paste it wherever I want. Example! Auto it will create a small box asking for the Username. the user will type in there name(PCUSER) and click ok on the box. The…
-1
votes
1 answer

Automate Microsoft SDK for Java 4.0 installer

I am trying to install Microsoft SDK for Java 4.0 for one of my legacy projects using AutoIt. On the first setup window there is a small where I need to activate that screen and select enter. But it is not happening. Below is the code I am…
-1
votes
1 answer

Reporting status back to TeamCity when a test is ran locally

We have a testing framework made in AutoIt for our Windows apps (older legacy apps that we will continue supporting). These have never been run on a schedule or part of CI (always been run manually). I tried to get some kind of auto run (or even…
lrossignol
  • 43
  • 7
-1
votes
2 answers

How can I make a script focus on an application?

I am creating some automated test scripts to test a piece of software. Im doing this in a modular way so that I can more easily dictate which scripts are being and change this, while having all the scripts pre-compiled I have a script which is…
jasttim
  • 723
  • 8
  • 19
-1
votes
1 answer

Set date in a date field

I am trying to set the date in a date picker field in a Windows environment (shown in attached images). It's not an AutoIt date control (I did not create this field). I used the following code: ; enter from date $sFromDate =…
Yaso
  • 99
  • 1
  • 5
-1
votes
1 answer

Ask about Radio in Autoit

How to put $Day into $Radio1 , $Week into $Radio2, $Month into $Radio3 And - $Radio1,$Radio2,$Radio3 into $RadioCheck ? #include #include #include #Region ### START Koda GUI section…
N.J One
  • 3
  • 4
-1
votes
2 answers

Autoit - lost focus after child window pops up

I am trying to click on an item from combobox control from parent window. once I click, a new child window pops up, then I need to click on OK button in the child window. Problem here is, when the child window pops up, the autoit script loses its…
Ko Nayaki
  • 74
  • 10
-1
votes
1 answer

Autoit Pixelsearch in Pixelsearch not working

I am self learning programmer, and been struggling with this issue for a while. I would be really happy if someone could point me to the right direction. What I had: A perfectly working pixelsearch1 autoit script. What I want to achieve: put that…
Arnoux
  • 19
  • 3
-1
votes
1 answer

autoit not running install and clicking finish button automatically

I am trying to install software but it does not run when using autoit. I can run it manually and it starts right up but has a finish button. I am trying to get the finish button to be clicked. Here is my code AutoItSetOption("WinTitleMatchMode",…
matthew moore
  • 215
  • 4
  • 19
-1
votes
1 answer

Looping through WinList() result takes much time

I get a list of open windows and check if it contains a certain title. It is working but takes more than 10 seconds. Why does it take so long, what is wrong with my code? Looks like WinList() doesn't list only visible windows. $title = 0 $begintime…
Sardar Agabejli
  • 423
  • 8
  • 32
-1
votes
1 answer

Reading from check boxes doesn't work

I want to iterate through check boxes to get the caption text from each one. I have this code but it is not working. Could someone tell me whats wrong? Is that because later in the For loop I am using $i to iterate through other things? But it…
Sardar Agabejli
  • 423
  • 8
  • 32
-1
votes
2 answers

Run exe as admin after install

I need to run an AutoIt program with administrator privileges. I use #requireadmin while installing. Is that enough to run the program after install with administrative privileges without using #requireadmin or should I try something else?
Kumar
  • 110
  • 14
1 2 3
99
100