Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

can autoit script be placed in a XML configuration file?

$
0
0
Im trying to select the ok button for a warning message that comes up during a test via mousemove/mouseclick feature in autoit.
 
So the autoit code does something like this:
 
If GUICtrlRead($GSM850)=1 Then
If $EMP = False Then
 
RUNWAIT($QDir&"NoiseProfilingTool.exe HP_GSM_850.xml run")
 
so it runs this .exe program called noiseprofilingtool and then looks for a xml file on my C drive that has all the configuration info needed to run the test in the GUI.
 
The issue is that the warning window that I wish to press the ok button on occurs when the script initiates noiseprofilingtool.exe. So my point is that I cant place mousemove/mouseclick feature before or after the autoscript code line because the autoscript code initiated the .exe program so until the .exe program is completed the next line of autoit code will not be executed!
 
So i was thinking that I could add the autoit code movemouse/click that I need to press the ok button in the warning window within the .exe program in the XML file but im not sure where to put it. THE XML FILE is below. CAn someone tell me where to place the autoit code for mousemove/mouse click in the XML file? not sure if this is possible.....
 

 

Spoiler

Viewing all articles
Browse latest Browse all 12506

Trending Articles