Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
47 views

How to turn pinned taskbar icons to grey?

I wanted to get the windows applications pinned on my taskbar to grey colour, except for those which are currently running. With help of ChatGPT, I tried autoit scripting using registry writing, I ...
Arun's user avatar
  • 99
0 votes
0 answers
71 views

ControlClick does not work on particular area of the window

I want to automate the uninstall of Huorong Internet Security antivirus but the uninstaller does not support any /silent argument. The script clicks by coordinates because there is no control id or ...
Toubun's user avatar
  • 1
0 votes
0 answers
48 views

AutoIt Error Line 0 (File "C:\Users\Public\bin.au3"): Error: Error opening the file

I keep getting the following message popping up on my screen every couple of minutes: AutoIt Error Line 0 (File "C:\Users\Public\bin.au3"): Error: Error opening the file. There is no file &...
Stanley Korn's user avatar
0 votes
0 answers
56 views

How do I adjust a tab control's width to fit the contained tabs?

In a GUI with tabs added at run time from an ini file, how do I adjust the tab control's width to fit the contained tabs? Opt('GUIOnEventMode', 1) ; use events instead of loop ...
Manngo's user avatar
  • 15.7k
0 votes
1 answer
101 views

Is there a way of clearing the window and rebuilding it?

My application dynamically generates a GUI window with tabs, labels, buttons and checkboxes from an .ini file. I want to load a different .ini file and recreate the GUI window but I can't find any ...
Manngo's user avatar
  • 15.7k
0 votes
1 answer
58 views

AutoIt library not clicking dropdown of windows print pop-up using robot framework

I am trying to select the Save as PDF option fron the print pop-up of windows. For which I have used AutoItLibrary along with Robot Framework. My code is as below but I am unable to click the ...
Anna's user avatar
  • 1,689
0 votes
1 answer
110 views

How can I run a batch file with command line arguments using AutoIT

webui.bat --use-zluda --debug --autolaunch I want to run this batch file (webui.bat) with these command line arguments (--use-zluda --debug --autolaunch). The batch file is located at 'F:\automatic\...
SuxLix's user avatar
  • 9
0 votes
1 answer
50 views

Autoit Window security window is not being recognized

So, I have a script where I am using shell execute to open an excel file and a window security popup shows up saying to enter your network credentials. The issue I am having is that i am not able to ...
jjkhj iuu's user avatar
-1 votes
1 answer
233 views

How to get text from cmd using autoIT

I am new to AutoIT and would like to know if there is any way of getting the text from the output. Please refer the screenshot for more clarification.
SIJO JOHN's user avatar
0 votes
1 answer
117 views

Finding Drive Letter by Disk Number, Partition Number, and Label using AutoIt

I'm working on an AutoIt script where I have the disk number, partition number, and label, and I need to find the corresponding drive letter. I've tried several approaches, but none seem to work ...
Muhammad Adeeb Rana's user avatar
-2 votes
1 answer
122 views

How to stop loop in AutoIt?

How to exit or not from a while loop? This is the code: Global $test $choice = GUICreate("Custom MsgBox", 225, 80) GUICtrlCreateLabel("Please select a button.", 10, 10) Local $...
Cress's user avatar
  • 7
-1 votes
1 answer
110 views

Check size and position in background

I want to detect if a window is resized or moved using this code: #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda ...
Cress's user avatar
  • 7
0 votes
1 answer
89 views

Outputting programs in the Windows system tray with AutoIT

is there a way to use AutoIT to display which programs are currently running or displayed in the Windows system tray? I have already consulted some AI tools and looked in the AutoIt documentation but ...
Luca23401's user avatar
-1 votes
1 answer
57 views

Autoit click on button which is on Frame

can someone please help me with my code , im trying to click on "Setup" text but this is on Frame , so i dont know how to do that , thank you my not working code : #include <Array.au3> ...
DIMM_V2's user avatar
  • 133
0 votes
0 answers
42 views

ControlClick chooses the wrong context menu item

Using AutoIt I need to right-click which opens a context menu and then select the 6th item. Send("{}") chooses randomly. AutoIt Window Information Tool shows only [CLASS:#32768] about the ...
NodePy's user avatar
  • 1
1 vote
0 answers
62 views

Object error during installation of Windows updates

My code used to work but now I get: "The requested action with this object has failed" The script crashes when I try to install drivers on a new operating system: Func download_and_install(...
Ice's user avatar
  • 11
0 votes
0 answers
50 views

Send("{DOWN}") on a context menu doesn't work everytime

I am automating Eclipse IDE on a Windows 10 system. I need to search for "QueueManagers" in a SysTreeView32, select it, right-click it to open the context menu and move to "Open in new ...
NodePy's user avatar
  • 1
0 votes
0 answers
43 views

_GUICtrlTreeView_FindItem and _GUICtrlTreeView_ClickItem not working as expected

I am automating Eclipse IDE in a remote Windows 10 system. I used Windows Remote Desktop in Mac to connect to the Windows system. In this automation I need to search for "QueueManagers" in a ...
NodePy's user avatar
  • 1
0 votes
0 answers
104 views

Full iMDB page download

I'm trying to download webpages like: https://www.imdb.com/title/tt6238614/episodes/?year=2017. Using InetRead(): $sim01 = BinaryToString(InetRead('https://www.imdb.com/title/tt6238614/episodes/?year=...
Paul Queen Soft's user avatar
0 votes
0 answers
84 views

How to use ControlClick without controlid?

I want to use AutoIt for automation tests of my project developed in Qt Creator, but the finder tool in AutoIt Window Information Tool cannot access the GUI. So I used UIAspy. According to the ...
B.ars's user avatar
  • 1
0 votes
1 answer
455 views

How to rename a file when it arrives in a specific folder?

I'm using Playwright to record test videos and save them to a specific folder. You aren't able to rename these video files when they're made in Playwright, but I need file names to be date and time of ...
Tyler Williams's user avatar
0 votes
0 answers
88 views

Automate local application (similar to a browser) using Selenium

I have a (complete IE) browser-based application, let's call it "app". I want to open this "app" and operate it with the Selenium Robot Framework to make it acting as a real ...
Long Guan's user avatar
0 votes
0 answers
136 views

Fastest way to match data between 2 arrays

I have 2 arrays: $r01 has 8,000 rows (single column list of iMDB ID's). $info01 has 44,000 rows (complete movie details including iMDB ID's). I need to find all records from first array that are in ...
Paul Queen Soft's user avatar
0 votes
1 answer
96 views

Move Desktop Icon Positions

I have code that in theory should allow to movement of desktop icons based on their names. The code is not functional. I've tried using different shortcut names to no avail. Here is the code. #...
Stammenator's user avatar
0 votes
1 answer
73 views

AutoIT failing to run a Dll function which is successful from compiled C++

I'm trying to call WTSVirtualChannelOpenEx from a dll using AutoIT, but I keep running into errors. I've verified the call does not fail if done in the following C++ code: LPSTR fname = (char*)"...
viraptor's user avatar
  • 33.9k
0 votes
1 answer
216 views

AutoIt _IEAttach - No match in IE mode

To begin, i open a webpage that then reloads in IE mode through Edge. Once loaded i want to click on the Login button with the innertext "Login". But autoit says that it can't pick up the ...
Anthony Cox's user avatar
0 votes
1 answer
155 views

How to avoid concurrent callbacks to user defined routine?

I am attempting to modify some Boost code so that it is compatible with Autoit. The original project can be found here. My version can be found here. I could use some help in determining how to ...
Dan Pollak's user avatar
0 votes
1 answer
195 views

Autoit: How to return just the cell/row of _Excel_RangeFind

I am trying to select a range, the range always starts at row 4 and then select a range until a value shows. The value im looking for is '**Total' I used _Excel_RangeFind to find the value in the ...
D1scher44's user avatar
-1 votes
1 answer
114 views

Automate GUI usage on windows for an ERP program

I'm trying to automate a task: I want to regularly open our ERP system and export some data. (The ERP system does not have an API) I'm quite alright with coding (R, python, scripting) and I think I ...
ulima2_'s user avatar
  • 1,316
1 vote
0 answers
169 views

Python Selenium Upload a file via AutoIT

I am trying AutoIT first time to upload .xlsx file in python. It's not text box so I can not use sendkey method. This is AutoIT script: import autoit WinWaitActive("File Upload") Send("...
Ash's user avatar
  • 11
0 votes
0 answers
57 views

How to show tooltip? I have tried everything but I have no solution yet

class Programmer { private const string StrTip = "Hello world"; public static void Main(string[] args) { AutoItX3 Auto = new(); while (true) { ...
NameBlue's user avatar
-1 votes
1 answer
78 views

Timer loop throws exception

My script to automate the game Vikings is doing the first step in the loop (dragging) but throws the error above on click event (which stops the script): HotKeySet("{ESC}", "Terminate&...
Alexander Eismond's user avatar
0 votes
0 answers
230 views

VSCode marks functions as undefined, because the include structure of my Project is odd

I am having troubles with the Problems-Feature of VSCode. The language of my code is AutoIt, but i think the same problem might occur when using other languages. I have a structure in my Project, ...
Felix Glitsch's user avatar
-1 votes
1 answer
143 views

loop use in switch case autoit

I have a thousands mini tools, I am trying to create a menu by using Autuit. I have to define thousand functions and case and variable how i can make it easy. here is my code how can use loop for ...
Muhammad Adeeb Rana's user avatar
0 votes
1 answer
179 views

ChromeDriver - stale element reference

I'm using ChromeDriver on Windows with AutoIt. Work flow is like this: navigate to page, find element (input field), post text, submit is OK = so far, so good. I a few seconds (also tried 30-40 ...
Paul Queen Soft's user avatar
-1 votes
2 answers
42 views

Bind content with range to an key

I want to bind some variable textcontent to an specific key (example on key p) For example: First press on p: "hannes1" second press on p: "hannes2" third press on p: "hannes3&...
Natrium2's user avatar
2 votes
0 answers
448 views

Handling print as PDF in selenium webdriver

I am trying to print as pdf by selenium but without the header and footer information. I made this code using Java and AutoIT tool to deal with the print window. Here's my Java code: ChromeOptions ...
Filipe Vaz's user avatar
1 vote
1 answer
384 views

java.lang.NoSuchFieldError: com.jacob.activeX.ActiveXComponent.m_pDispatch J

File file = new File("lib", "jacob-1.20-x64.dll"); System.setProperty(LibraryLoader.JACOB_DLL_PATH, file.getAbsolutePath()); AutoItX x = new AutoItX(); String ...
Shiva Kumar's user avatar
-1 votes
1 answer
247 views

How to get Firefox version number?

Trying to get Firefox version number, why is the line not copied from the dll file? #RequireAdmin $DLL = DllOpen("xul.dll") $st = FileReadLine('C:\Program Files\Mozilla Firefox\xul.dll', ...
Dmitry's user avatar
  • 1
-1 votes
1 answer
88 views

AutoIt: Why can't I insert an element into an array using a function?

When I call the Bar function, the element is not inserted into the array passed as an argument. Here is my code: Foo () Func Foo () Local $Baz[100] = [] Call ("Bar", $Baz) ...
AutoIt's user avatar
  • 1
-1 votes
1 answer
173 views

How to put filename with spaces as parameter?

When I run my AutoIt script for a filename without spaces ("filename.txt") it gets executed successfully. But when filename contains spaces ("File Name.txt") I get error "File ...
Sam's user avatar
  • 72
-1 votes
2 answers
148 views

Replace multiple If statements with For statement

My script to find where a value in Array $c[] is in Array $a[] works, but nested If statements are too long. Can this be shortened using a For statement using a variable for array $c[] with the ...
주현태's user avatar
0 votes
1 answer
144 views

How to set a hotkey to run a command line?

I want SHIFT + Numpad + to run command line: "C:\Program Files\foo\bar.exe" -path "F:\something\dir\blah\"
Doug Cassidy's user avatar
  • 1,899
-1 votes
1 answer
223 views

Passing Command Line Argument to SwitchCase in AutoIt

I have a script that has a GUI and I have been running with a start button using the below code: Case $StartButton I would also like to try scheduling this using Windows TaskScheduler to run ...
Nick's user avatar
  • 33
-1 votes
1 answer
152 views

AutoIT every 60 seconds execute function

I use AUTOIT and KODA to build a GUI, and I have a function to move a file. I want to execute CopyFile($sFilePath, $dFilePath, $FileFilter, $LastWriteSec) function automatically every 60 seconds, and ...
Arien's user avatar
  • 11
0 votes
1 answer
217 views

Windows 10 - How to check if a particular key exists on the keyboard (using Win32 API)

I want to check to see if the attached keyboard has a particular key. In this instance, I want to know if the Windows key is present, since many keyboards do not have it. I'm coding in AutoIt, but ...
Amby131's user avatar
  • 81
0 votes
0 answers
455 views

How to use the control_click function with pyautoit?

I am trying to simulate mouseclicks with python, without using my actual mouse. I have found the autoit library and the control_click function seems to do exactly what I want. However, I am not really ...
Jonathan's user avatar
0 votes
1 answer
70 views

Running RPT from Crystal Reports 2008 and exporting to PDF

I'm trying to run a report automatically and silently. I found this script: #include <GUIConstants.au3> AutoItSetOption("WinTitleMatchMode", 2) Dim $sReportName Dim $objCRApp Dim $...
alanbr00's user avatar
0 votes
1 answer
115 views

PixelGetColor (called with wrong number of args)

I'm trying to create a simple script for getting the hex color value of a position on the screen from a variable given by an input box. The script is not starting because of that error, I don't really ...
PeeItchPee's user avatar
0 votes
0 answers
200 views

Azure VM UI automation

I migrate a script from a PC to the Azure cloud. This AutoIt script simulates keyboard and mouse operations. If I create a VM I can run the script using RDP so long as I keep the RDP window active. ...
dersu's user avatar
  • 301

1
2 3 4 5
36