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
2 answers

How to write this batch script in AutoIt?

I'm trying to re-write a batch file in AutoIt. How would I do the following in AutoIt? :BeginLangMenu if "%OptNum%" gtr "0" goto ShowLangMenu ::Next Section code based on code supplied by Aacini from stackoverflow.com :DefineLangMenu for /L %%D in…
VollachR
  • 35
  • 8
-1
votes
1 answer

Runtime.getRuntime().exec(fileupload) is showing error(C# Selenium Webdriver)

I would like to write the code for uploading file using Autoit in Selenium Webdriver(C#). I have installed Autoit. Create the exe file where I have mentioned the file location which I want to upload. But when I write…
Rumana
  • 1
  • 1
-1
votes
1 answer

Selenium Webdriver + AutoIT + Java - Automate Windows Security Pop UP

I'm trying to automate an OS Dialog (Windows Security) with AutoIT The imports are (Only the second one is being used) import java.io.File; import autoitx4java.AutoItX; import com.jacob.com.LibraryLoader; The code is: AutoItX x = new AutoItX(); …
nosequeweaponer
  • 511
  • 10
  • 38
-1
votes
1 answer

How to extract/capture streaming url in batch mode?

in FireFox, if Video DownloadHelper installed, one can get the streaming URL of the current site (if any) eg www .examplevideo.tv/room1 and Video DownloadHelper can tell me the streaming URL is…
Chi-fung LAM
  • 195
  • 2
  • 11
-1
votes
1 answer

How to press ENTER with AutoItX on Java

I'm trying to build automation script with Selenium(Java) + AutoItX. In my script I want to press the ENTER key, this is my code: AutoItX x = new AutoItX(); Thread.sleep(3000); x.send("{ENTER}"); but it doesn't work.. any idea why?
Pikolo
  • 99
  • 1
  • 3
  • 11
-1
votes
1 answer

From autoit script the program is not taking the "#1" value from the password field

For windows authentication using selenium I am using the below autoit script but the program is not taking the "#1" value from WinWaitActive("Windows Security") Send("Test\1234") Send("{TAB}") Send("testen#1") Send("{ENTER}") program is…
-1
votes
2 answers

Clicking OK in a dialog box

I'm running a program after Windows 10 starts up and it gives me the dialog box attached. All I need to do is automate clicking the OK button. The script I've written isn't working : WinActivate("RoomView Express Login") If WinActivate("RoomView…
greyBow
  • 1,298
  • 3
  • 28
  • 62
-1
votes
1 answer

In Autoit script, does Redim be unusable in decreasing array size?

I written an Autoit script. But error occured in the point of using Redim keyword which is used for the purpose of decreasing array size with keeping existing contents. The test script is #include-once #include #include…
Thm Lee
  • 1,236
  • 1
  • 9
  • 12
-1
votes
1 answer

Return control to Selenium after executing an AutoIt script

I am writing Selenium scripts to test my webpage. To simulate testing, a desktop application resets the date in the DB (as the actual process is run after the date changes). Now I am able to call my application and click the button through Selenium…
-1
votes
1 answer

unable to click button usnig autoit

I'm trying to automate installation process of a software, but AutoIt is not clicking NEXT button. the only script I wrote is MouseClick ( "LEFT",1088,725,3,10) please help me.
OgWestside
  • 17
  • 4
-1
votes
5 answers

Run script every 20 minutes

I want my AutoIt script to run every 20 minutes without using Sleep(). I cannot buy any software; is there freeware which can do this?
bloody mary
  • 7
  • 1
  • 2
-1
votes
1 answer

Why does _DateDiff() return 0?

My AutoIt script should predict when a process will complete by saying The process will be complete at 3:18:24 PM. But that is not happening. It takes these input values: Starting time Starting percentage Current time Current percentage It…
DED1
  • 43
  • 6
-1
votes
2 answers

Split string to multidimensional (2D) array

I try to split a string into a multidimensional array, but it is not working the way I want. I just split a string to some arrays where one 2 dimensional array should represent a table. I can see the array using _ArrayDisplay() but I cannot work…
Hunselfunsel
  • 329
  • 1
  • 3
  • 15
-1
votes
1 answer

Autoit - Get the file size of all files in path

Im using a script to get all files and dirs in a specific and generates a .txt file of the result but i need to add the size of each file using the FileGetSize + ByteSuffix functions #include #include Global…
-1
votes
3 answers

Write to the end of each line -autoit

Instead of the MsgBox i want the script to read a .txt file and write to the end of each line the result of a variable, in my case is $FileSize Here is the code for autoit script #include #include Test() Func…
1 2 3
99
100