Hi,
after some hours of researching i stil have no clue what is going on internally in autoit it.
I am used to unix - so i am seeing autoit as just an another script language - which behaves very strange!
My Goal is simple. I want to start an Auto it script from an VBScript program - and i do not want to the autoit script to return before the script is finished.
Currently i try to run the script
"C:\mypath\autoit3.exe" "myscript"
in VBScript with "wsh.Run(cmdline,0,true)"
However if i start the autoit script (which waits until a "Busy" window disappears - Simple! ) - autoit Returns immediatly.
Even if i try to run this from dos cmdline it
this line returns immediatly - although it correctly displays a message box some 120 secondes later when the busy window has disappeared
"C:\mypath\autoit3.exe" "myscript", the script Returns immediatly
--> so my Programm continues - although the "Busy Window" has not disappeared!
However i want _not_ an immediate return. I want that autoit3.exe Returns exactly when myscript is finished - and not any time earlier!
At this point and a lot research i have no clue how to do this....
Can anybody please advise me?
Thanks!
after some hours of researching i stil have no clue what is going on internally in autoit it.
I am used to unix - so i am seeing autoit as just an another script language - which behaves very strange!
My Goal is simple. I want to start an Auto it script from an VBScript program - and i do not want to the autoit script to return before the script is finished.
Currently i try to run the script
"C:\mypath\autoit3.exe" "myscript"
in VBScript with "wsh.Run(cmdline,0,true)"
However if i start the autoit script (which waits until a "Busy" window disappears - Simple! ) - autoit Returns immediatly.
Even if i try to run this from dos cmdline it
this line returns immediatly - although it correctly displays a message box some 120 secondes later when the busy window has disappeared
"C:\mypath\autoit3.exe" "myscript", the script Returns immediatly
--> so my Programm continues - although the "Busy Window" has not disappeared!
However i want _not_ an immediate return. I want that autoit3.exe Returns exactly when myscript is finished - and not any time earlier!
At this point and a lot research i have no clue how to do this....
Can anybody please advise me?
Thanks!