bm59 Posted October 29, 2007 Share Posted October 29, 2007 The script below works fine with IE but not with Firefox if, when run, a Firefox window is already open. In this case the program doesn't wait for firefox to be closed to send the "Good Bye" messageDoes someone know why ?$sNavigateur=RegRead("HKEY_CLASSES_ROOT\HTTP\shell\open\command","")$aNavigateur=StringSplit($sNavigateur,'-')$sNavigateur=$aNavigateur[1]RunWait($sNavigateur & " http://www.google.com");this message should pop up when we close browserMsgBox(0,"Test","Good Bye ...") Link to comment Share on other sites More sharing options...
weaponx Posted October 30, 2007 Share Posted October 30, 2007 From the help file (RunWait()):Some programs will appear to return immediately even though they are still running; these programs spawn another process - you may be able to use the ProcessWaitClose function to handle these cases. Link to comment Share on other sites More sharing options...
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