ojef1 Posted February 23, 2011 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.
Developers Jos Posted February 23, 2011 Developers 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.
ojef1 Posted February 23, 2011 Author 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?
JoHanatCent Posted February 24, 2011 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
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