Questions tagged [autoit]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
41 views

Windows: Slideshow of all pictures in a directory but with various display durations

All pictures in a folder should be displayed automatically one after the other = Slideshow. The tricky part is that most of the pictures should be displayed for 20 seconds each and a few others should ...
Theonore's user avatar
3 votes
1 answer
607 views

How to split multi-line clipboard data (e.g. from Excel) in single-line "pastes", one CTRL+V at a time

To illustrate my dilemma as simply as possible: I have a list of values ranging from 1-10 that I want to copy and store. When I press Ctrl+V (or any paste execution), I want 1 to be displayed. When I ...
user1681312's user avatar
0 votes
0 answers
46 views

Multiple cursors at once functionality, just as in the Visual Studio Code but in every Windows application?

Was wondering if this: https://code.visualstudio.com/docs/editor/codebasics can be implemented with WinApi or by DLL calls using something such as https://www.autohotkey.com/docs/commands/DllCall.htm ...
user96769's user avatar
2 votes
1 answer
2k views

Is there a way to ping a Bluetooth device from Windows?

I am trying to automate CCTV arming on Windows 10 using AutoIt - trying to arm the camera when I am not at home by pinging my phone (Samsung Galaxy S7). I tried pinging the phone's local IP address, ...
user2048695's user avatar
3 votes
1 answer
66 views

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 ...
burih yidah leib's user avatar
3 votes
1 answer
237 views

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 ...
burih yidah leib's user avatar
3 votes
1 answer
1k views

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 ...
Physikbuddha's user avatar
0 votes
1 answer
659 views

Disable shortcut target field

I am using AutoIT to create shortcut to desktop and also will forced to launch as kiosk by adding the parameter at the end of the target field. But how can I disable the target field from editing when ...
Jack Wong's user avatar
1 vote
0 answers
254 views

How to run the process with SYSTEM privileges when a scheduled task is created using AutoIt

I have one task which triggers the exe on system start. Task is created with highest privileges and SYSTEM privileges but actual process runs with user level privileges. How to run the process also ...
rockIT's user avatar
  • 21
4 votes
2 answers
5k views

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 ...
JD Gamboa's user avatar
  • 143
1 vote
1 answer
821 views

AutoIt Error when charging laptop

This message appears when I charge the laptop (hp) and disappears when I remove the charger, tiyfmr.clh file in the message I can't find it in vlegjw folder and vlegjw is hidden and only display when ...
user881254's user avatar
0 votes
1 answer
561 views

autoit script help!stop process when is IDLE for 1 min

I found this interesting script: Opt("WinTitleMatchMode", 3) ;3 = exact title match Opt("TrayIconDebug", 1) $S_running = "check-4-app" ;name the script If WinExists($S_running) Then Exit ...
michael johns's user avatar
1 vote
0 answers
571 views

How to run a task without login using Autoit after reboot of the machine

I have two tasks test1 and test2. test1 is for system start up and test2 is for log on. Everything works fine until a restart of the machine happens. When a restart happens and I don't login no task ...
rockIT's user avatar
  • 21
1 vote
2 answers
417 views

how do I insert text between specific lines?

I am working with AutoIT to add a new entry to a text file. However I need to add it between the last line and second last line. var informationtechnologydivisionmanager = [ { "name": "...
GettingStarted's user avatar
0 votes
0 answers
69 views

How to keep Alt+Shift from inadvertently opening the menu bar of the current app on Windows (or how to make ALT purely a modifier key) [duplicate]

I'm a long-time Linux user, and a non-native speaker. Just like in Windows, Linux supports the Alt+Shift keyboard combination to switch between input languages. However, its behavior is more forgiving ...
anrieff's user avatar
  • 211
0 votes
0 answers
900 views

Autoit SendMessage [closed]

I have this code to send mouse actions to an inactive window, but I don't know why it's not working, and it doesn't give any error. In this example I want to draw a line in Paint. #include <...
S N's user avatar
  • 1
1 vote
0 answers
834 views

Looking for best no-brainer way to autologin to VPN app

I have to use VPN app to login to our corporate network (Pulse Secure). It is very cumbersome and breaks connection every few hours and asks for password again and again. There is no way to save name/...
Anton Krouglov's user avatar
2 votes
0 answers
1k views

The "Send" function in AutoIt does nothing, no matter the input

We're trying to automate some stuff with AutoIt, but we're having an issue with the Send function. No matter what we give it, the function does nothing. Send("Foo bar") does nothing, Send("^a") does ...
Hubro's user avatar
  • 5,726
3 votes
2 answers
10k views

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 ...
Qassam Mahmoud's user avatar
0 votes
0 answers
102 views

Program gets error after starting from command prompt

I have a clients application that I am having trouble with. I start it from Autoit code using Run. Autoit is just a scripting language if your not familiar with it. We have received a new version ...
MatthewD's user avatar
  • 101
1 vote
0 answers
2k views

AutoIt not work click the button id

How can any program button id? I tried ControlClick. ControlClick ( "", "", 1837642, "left" , 1 ) or ControlClick ( "", "", "WindowsForms10.Window.8.app.0.33c0d9d", [WindowsForms10.BUTTON.app.0....
w0lf's user avatar
  • 11
1 vote
1 answer
8k views

Cannot control click a button in Autoit scripting

I have been trying to automate a button click using an auto IT script in an application. The window title of the application is EDI867 Tracer and the button I am trying to click is Browse. The ...
Dragonborn's user avatar
2 votes
3 answers
9k views

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 ...
user176105's user avatar
2 votes
0 answers
406 views

AutoIt: Get text from inside a Windows Metro app

I'm automating a Windows Metro app and need to read some text that it returns. I've tried using the "AutoIt v3 Window Info" utility to inspect the application but it's unable to see the text. What ...
Sean Bannister's user avatar
2 votes
1 answer
5k views

How do I record in VLC media player on a schedule?

I have an IP stream coming through VLC media player in Window 7, and I would like to automate the process of opening the stream and start recording at a specified time, and stop VLC and the recording ...
syrex's user avatar
  • 95
0 votes
2 answers
2k views

Simple autoit script to toggle Caps Lock on and off in Win7

I am looking for a simple autoit script that will toggle the Caps-Lock and/or Num-Lock keys on and off to stop my Windows 7 laptop going to the screensaver and locking. These options are grayed out ...
Ally-J's user avatar
  • 1
0 votes
2 answers
2k views

Autoit fails to create registry key where regedit does

I wrote a AutoIt program that use RegWrite to add several registry value. I tested it as 'Domain Admins' and it fail to write, I runned it as local 'Administrator' and the values where changed. I ...
MUY Belgium's user avatar
2 votes
1 answer
2k views

AutoIt - writing text to the end of a line

I'm working with AutoIt, and I was wondering in there is a method I can use to append a string of text to the end of a line inside a text file. I've been browsing all over autoIt forums and there are ...
TCHP's user avatar
  • 21
0 votes
1 answer
730 views

AutoIt script hangs for no apparent reason

I am stuck with this script. For ages it didn't work. And then suddenly it did...and now...on a reinstall...it doesn't work again. It stops on the first winwaitactive line. The folder is most ...
user3261239's user avatar
5 votes
3 answers
12k views

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 ...
user333908's user avatar
3 votes
1 answer
872 views

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's user avatar
  • 63
2 votes
1 answer
4k views

Autoit: run a program selected with FileOpenDialog?

I need to make a script that allows a user to run a software with certain parameters (that should be typed in). So, first step, select the exe. Second, a text input box should allow the user to enter ...
user2723297's user avatar
1 vote
1 answer
10k views

How to refer to a file in %APPDATA%\Folder in AutoIt?

I need to refer to a file in AutoIt, let's call its location %APPDATA%\folder\file.txt How can I call to it in AutoIt? I've seen %APPDATA% referred as @AppDataCommonDir in it, but I can't get the ...
user2723297's user avatar
1 vote
1 answer
2k views

AutoIt update input with MsgBox line for copy/paste

I have been making alot of random scripts lately, none of which are really useful for anything but they help me to understand various things and I use them for reference quite often... anyways, one of ...
ICE's user avatar
  • 264
3 votes
1 answer
806 views

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 ...
Micheal K's user avatar
  • 111
0 votes
1 answer
1k views

How to disable and enable network interface while Windows 7 is locked

Initial situation I'm working with multiple workstations on a domain where I'm not allowed to change screensaver or power saving options which is very common nowadays. I often have to switch between ...
nixda's user avatar
  • 26.9k
0 votes
2 answers
6k views

Is it dangerous to use the windows' shutdown.exe command to turn off the computer?

I use this command in autoit to turn off my laptop, if a timer runs out Run(@SystemDir & "\shutdown.exe /f /s /t 10", "", @SW_MAXIMIZE) It works fine most of the time, but occasionally I get ...
user13267's user avatar
  • 1,481
0 votes
1 answer
1k views

Application to automatically switch windows unless there is user activity

I'm looking for an application (or script such as for AutoIt) that will automatically switch between multiple windows unless user activity (mouse movement, key presses) is detected. I'm creating a ...
Rich Ellis's user avatar
0 votes
0 answers
127 views

"Change the way users log on or off" using AutoIT Win XP

I'm wondering if there is a way, and how to go about it, to change User Account Control settings in Win 7? AutoIt doesn't seem to recognise the clickable options in User Accounts as being Buttons, and ...
eskimo9's user avatar
  • 101
4 votes
1 answer
6k views

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" ...
Wuschelbeutel Kartoffelhuhn's user avatar
1 vote
0 answers
1k views

Install programs remotely on Windows: psexec + autoit

I want to install a program remotely, for which I understand there are two options:- Group Policy (or using other Windows built-in option): The thing is I'm trying to install a distributed system, so ...
Guy L's user avatar
  • 159
3 votes
0 answers
1k views

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 ...
chris's user avatar
  • 31
1 vote
1 answer
10k views

Get Window Focus in Autoit for Applications in System Tray

I have two windows open and not minimized (Autoit help and RelianceNetconnect). And the current focus is with a Notepad file. This is my Autoit script : DIM $s=WinActivate("AutoIt Help") MsgBox(0,"...
Ashwin's user avatar
  • 365
8 votes
3 answers
16k views

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's user avatar
  • 1,330
6 votes
3 answers
20k views

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?
user avatar
3 votes
0 answers
2k views

Useful AutoIt scripts? [closed]

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 ...
31 votes
10 answers
42k views

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 ...
dsimcha's user avatar
  • 1,214
2 votes
1 answer
3k views

Difficulty with middle click - MS Wireless 6000 scroll wheel sensitivity

(Microsoft Windows) When I try to middle click on the scroll wheel, I usually just get a little bit of scrolling instead. I am using the Microsoft Wireless Laser Mouse 6000, which is very ...
K Robinson's user avatar
  • 1,029