andygo Posted November 29, 2009 Posted November 29, 2009 hello, hope you can help me: #include <Process.au3> $rc = _RunDos("start Http://www.autoitscript.com") does the script continues immediately with the next line or is it like "runwait" that the script pauses until the _rundos command is finished? thank you
EndFunc Posted November 29, 2009 Posted November 29, 2009 hello, hope you can help me: #include <Process.au3> $rc = _RunDos("start Http://www.autoitscript.com") does the script continues immediately with the next line or is it like "runwait" that the script pauses until the _rundos command is finished? thank you If I'm not mistaken it just runs the command in a hidden dos window so I don't think it will wait. You should test it on what you're doing and you might have to check for other things to tell it if has completed or not. EndFuncAutoIt is the shiznit. I love it.
TwentyFourEyes Posted November 29, 2009 Posted November 29, 2009 The script continues immediately so do something like this but I'm sure you know that already with 83posts =D #include <Process.au3> _RunDos("start http://www.autoitscript.com") WinWaitActive("AutoIt Script Home")
andygo Posted November 29, 2009 Author Posted November 29, 2009 thanks for the fast reply, i will try it with this here: RunWait(@ComSpec & " /c " & "start http://www.autoitscript.com", "", @SW_HIDE) in a few minutes i will know if it works and i let you know.
andygo Posted November 29, 2009 Author Posted November 29, 2009 ok now the "problem" is solved. it was because of some space-characters in the dos-path-command.
Valuater Posted November 29, 2009 Posted November 29, 2009 Might want to have a look at ShellExecute() 8)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now