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

Autoit Executable started by PSEXC not exiting?

$
0
0

Good day all,

 

I have the following script that is working great when run locally, but when I execute it with PSEXC (After compiling the script to an executable) the Script never exit's which causes the PSEXC command window to never close

; Open the Brother Control Centre run("C:\Support\AutoScan\controlcentre.bat", "C:\Program Files\ControlCenter4") WinWait("ControlCenter4") ; Click the Scan Image button and wait for the Reading from Device Window sleep(300) ControlClick("ControlCenter4", "", "[CLASS:Button; INSTANCE:14]") WinWait("Image - ControlCenter4") Send("{Enter}") ; End Script Exit 0

Any help would be appreciated, thanks heaps!


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>