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
3
votes
1answer
26 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 ...
3
votes
1answer
30 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 ...
0
votes
1answer
49 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 ...
0
votes
1answer
48 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 ...
1
vote
0answers
81 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 ...
4
votes
1answer
2k 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 ...
1
vote
1answer
226 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 ...
0
votes
1answer
428 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 ...
1
vote
0answers
393 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 ...
1
vote
2answers
288 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": "...
0
votes
0answers
57 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 ...
0
votes
0answers
686 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 <...
1
vote
0answers
531 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/...
2
votes
0answers
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 ...
3
votes
2answers
4k 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 ...
0
votes
0answers
81 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 ...
1
vote
0answers
1k 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....
1
vote
1answer
6k 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 ...
2
votes
3answers
8k 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 ...
2
votes
0answers
379 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 ...
2
votes
1answer
3k 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 ...
0
votes
2answers
1k 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 ...
0
votes
2answers
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 ...
2
votes
1answer
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 ...
0
votes
1answer
663 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 ...
4
votes
3answers
9k 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 ...
3
votes
1answer
793 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.
2
votes
1answer
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 ...
0
votes
1answer
8k 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 ...
1
vote
1answer
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 ...
3
votes
1answer
752 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 ...
0
votes
1answer
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 ...
0
votes
2answers
3k 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 ...
0
votes
1answer
936 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 ...
0
votes
0answers
125 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 ...
4
votes
1answer
5k 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" ...
1
vote
0answers
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 ...
3
votes
0answers
962 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 ...
1
vote
1answer
9k 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,"...
8
votes
3answers
14k 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.
6
votes
3answers
15k 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?
3
votes
0answers
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 ...
22
votes
10answers
31k 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 ...
2
votes
1answer
2k 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 ...