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

Invoking an autoit script

$
0
0
In several instances I am doing some initial processing in Winbatch and then invoking an autoit script to complete my process.  The problem occurs when I issue a RunWait(Winbatch) command to invoke a specific autoit script. What happens is the editor starts.  According to the registry the default process is RUN not EDIT.  Can you shed any light on this problem. I can get around it by using a different version of the Run command.  I would prefer not to use this second version of the Run command as it more complicated.


This is the Winbatch function being attemped

  RunWait("C:\Program Files\Autoit3\myau3s\test04.au3", " ")

  and this is the one that works but I do not like

RunShell("C:\Program Files\autoit3\autoit3.exe","test04.au3","C:\Program Files\autoit3\myau3s\",@Normal,@WAIT)

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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