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.

AutoIt homepage

AutoIt docs

AutoIt forum

48 questions
32
votes
10 answers

Keyboard Shortcut to Swap Mouse Buttons

I use my mouse with both hands and like to switch back and forth for comfort reasons. However, this is made difficult by needing to go through about a zillion layers of menus to swap the buttons each time. Is there an easy way to create a single…
dsimcha
  • 1,264
8
votes
3 answers

Recorder for AutoIt

Does anyone know where to find the latest AutoIt recorder? The one here does not work. It does not find RWSettings.alg and I do not know what that is. Any help will be appreciated.
Stat-R
  • 1,380
6
votes
3 answers

AutoIT script for linux?

As we know we are having AutoIt script for windows XP/2000/..etc. Do we have same AutoIt scripts for linux machines?
user1216228
5
votes
3 answers

How do I execute Windows commands through autoit?

This is about sc.exe I want to run my program as a service in Windows. I can do it using command prompt My program is placed in system32 folder, so first I go to system32 and then I use these commands c:\windows\system32>sc create demo binpath=…
4
votes
1 answer

Macro hotkey for "Save Image As..." in Firefox?

Relevant PC info: Windows 7 64bit Firefox (latest) Logitech g710+ Keyboard with Logitech Gaming software Right now, I have to: Hover over an image right-click Click "Save Image As.." Click "Save" on the explorer save window (and potentially go to…
4
votes
2 answers

Run executable file from task scheduler NOT in background W7

I created an AutoIt script that opens a certain app, and proceeds with a certain behavior. When I compile it, Autoit gives an executable file. If I run it, it works finely and smoothly. Now: I need it to run sometime during the night, so I added it…
JD Gamboa
  • 143
4
votes
2 answers

get process name from it's own description?

How can I get the process name from computer memory by using loop depending on the process description ? Example: My program name is "dev.exe" in memory and its description is "a tool for helping php developers" Is there any way to find my process…
3
votes
1 answer

How do I hide a file with AutoIt v3?

Using AutoIt v3, I need to copy a file and have the resulting file (a .dll) be hidden. I tried FileCopy & FileInstall orders but they just make the file visible and not hidden after execution.
YaZan
  • 63
3
votes
1 answer

Autoit GUI, Variables not being declared on button press

I am still in the process of learning how to script my own GUIs. Koda has been a big help, I have been messing around with it, learning little bits at a time. However, I have encountered an error that I can not seem to get around. The current GUI I…
Micheal K
  • 111
3
votes
0 answers

Automatically add LDAP directory to Outlook?

Is it possible to add a new LDAP-directory to the outlook addressbook with a script? I haven't found an appropriate registry key. I would prefer a .reg file. A .msp file created with Office setup programm didn't work reliably.
chris
  • 31
3
votes
0 answers

Useful AutoIt scripts?

AutoHotkey's functionality is really great, but the more I get into it, the more I hate the syntax. This answer makes me want to try AutoIt instead: You may want to look at AutoIt. It does everything that AutoHotKey can do, but the language syntax…
endolith
  • 7,704
3
votes
1 answer

autoit create a batch that sends ' type o.txt | clip ' not working

i spent hours on documentation and forums to try and figure this out. the code runs without an error but the batch script doesn't get executed. i spared the reader the #include<*> part because it's quite verbose. oToClip() Func oToClip() Local…
3
votes
1 answer

making a batchfile in autoit

i checked my file with MsgBox($MB_SYSTEMMODAL, "", "Contents of the file:" & @CRLF & $sFileRead) so i know i created the file successfully but when i want to change it to .bat by moving it into a junk .bat file (other people probably have a better…
3
votes
1 answer

Auto-typing passwords etc. into a Hyper-V guest is not working. What can I do?

I am running several virtual machines (Windows and Linux) on a Hyper-V server. I want to use Keepass to enter passwords stored on my local machine through the Hyper-V connection into the remote machines. As this includes Bitlocker PINs and Ubuntu…
2
votes
3 answers

AutoIt Error on Startup after Installing Windows 10

Right after I installed windows 10 on a 1 year old Acer laptop that had windows 8.1 I got the following message on startup. The messages keep multiplying (shown in photo). I can't seem to find a specific solution for the error "bxblhl." Any help…
1
2 3 4