Questions tagged [autoit]
AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting.
autoit
1,762
questions
0
votes
0
answers
28
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 &...
0
votes
0
answers
52
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
...
0
votes
1
answer
93
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 ...
0
votes
1
answer
44
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 ...
0
votes
1
answer
80
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\...
0
votes
1
answer
43
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 ...
-1
votes
1
answer
205
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.
0
votes
1
answer
99
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 ...
-2
votes
1
answer
114
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 $...
-1
votes
1
answer
104
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 ...
0
votes
1
answer
79
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 ...
-1
votes
1
answer
55
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>
...
0
votes
0
answers
40
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 ...
1
vote
0
answers
57
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(...
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 ...