ojef1 Posted February 23, 2011 Share Posted February 23, 2011 New to this, if I wanted to simply open an internet explorer browser window, why won't Run("iexplore.exe") work? I've tried different capitalizations, and if I do Run("Notepad.exe") it works fine, so I assume it has to do with the filepath maybe? I know this is trivial but it would help get me started with what I'm trying to do. Thanks. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 23, 2011 Developers Share Posted February 23, 2011 This is because iexplorer.exe isn't found in the PATH and notepad is. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Mobius Posted February 23, 2011 Share Posted February 23, 2011 (edited) ~ Edited March 2, 2011 by Mobius Link to comment Share on other sites More sharing options...
ojef1 Posted February 23, 2011 Author Share Posted February 23, 2011 Thanks alot that makes sense...it's what i was thinking i just didn't know what to do about it...it's very picky about the little things apparently as well, but i got it working now. Is there any way to view error messages to help with the debugging process? Link to comment Share on other sites More sharing options...
JoHanatCent Posted February 24, 2011 Share Posted February 24, 2011 Is there any way to view error messages to help with the debugging process? $Run = Run(@ProgramFilesDir & '\Internet Explorer\IEXPLORE.exe') If @error > 0 Then MsgBox(0, '', 'There was an error', 1) Else Sleep(2000) MsgBox(0, 'Launched', 'PID of the process is: ' & $Run, 2) EndIf 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