12 posts in this topic
Some time ago, some members asked how to see the Http Requests.
There are quite a few external applications but not in AutoIt!
HttpHeaderWatcher in association with WinPcap, very modestly solves this lack.
Once done this http watcher, i asked me : why not Re-build a WinHttp Request in AutoIt from a selected Request in one Click ?
So i have added a "Create au3" button who open the WinHttp Request of your choice in AutoIt format in SciTE Editor.
Voila voila, hope it can help !
Buttons were made online with chimply.com the easy and free buttons generator !
See Help for more infos.
previous downloads : 253
source and executable are available in the Download Section
Hope you like it !
I'm working on automating the update process for a piece of software that we use at my company. The installer file always contains the version number as a part of the file name (eg InstallFile_9342.msi) and the numbers always change with every update.
How do I use AutoIt to run the program? I know I can't use a wildcard in place of the numbers when using the "Run" command.
Local $aArray = _FileListToArray("C:\path\to\file", "InstallFile_*.msi", 0, 1) Run("$aArray") and I also tried
Local $bInstall = FileFindFirstFile("InstallFile_*.msi") Run("$bInstall") and neither worked.
Can someone please point me in the right direction? I've done some searching on the forum and haven't found anyone in a similar situation before.
I have a program that has a control that changes color a few seconds into running. So ideally, I would poll this to tell when an event has occurred.
I can't seem to retrieve the correct color value for a control. It always seems to return white indicating that its selecting somewhere else in the window.
In the PixelGetColor call I'm adding half the width to the x value and subtracting half the height to the y value in order to get the center of the control. (assuming the coords returned by ControlGetPos are top left - which i can't be sure of) But I've also tried without modifying the x/y and with changing the PixelCoordMode option to 2. Maybe I'm making a silly mistake and can't see it? Any help would be appreciated.
Code is below:
FileChangeDir( "C:\Where\My\File\Is" );
Run( "MyProgram.exe" )
Local $hClient = WinWaitActive( $CLIENT_TITLE, "", 10 )
Local $systemIndicatorClassNN= "[CLASS:Qt5QWindowIcon; INSTANCE:99]"
Local $hSystemIndicator = ControlGetHandle ( $hClient, "", $systemIndicatorClassNN)
Local $xywh = ControlGetPos ( $hClient, "", $hSystemIndicator )
For $i = 10 To 1 Step -1
$color = PixelGetColor ( $xywh + ($xywh/2), $xywh - ($xywh/2), $hClient )
LogToFile( $color )
Sleep( 2000 )
I have a program XX that asks for user confirmation on exit, which hangs the system reboot/shutdown process until I confirm. So I decided create a autoit script that would automatically close that dialog and let the system reboot/shutdown.
The problem I'm facing is that my scripts now exits before the XX.
Is there a way delay script exit until the XX is closed but only when system is rebooting/shutting down?
I have been working on trying to develop some scripts to interface with the REST/JSON API from the Orion SDK. This is where I will ask my questions and hopefully get some community responses that could help benefit others.
I am trying to create examples of how to interface with the API from autoit. This should be a knowledge dump for this task.