the_lord_mephy Posted October 26, 2004 Posted October 26, 2004 Is there a way to run/find someones default internet browser? I checked the macros. My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote]
this-is-me Posted October 26, 2004 Posted October 26, 2004 It might help if you search the forum for "default browser". Who else would I be?
Matt @ MPCS Posted October 26, 2004 Posted October 26, 2004 Or search for default file association. I think it was Larry that made a script that gets the default association for any registered file type. *** Matt @ MPCS
Josbe Posted October 26, 2004 Posted October 26, 2004 (edited) Matt @ MPCS said: Or search for default file association. I think it was Larry that made a script that gets the default association for any registered file type.*** Matt @ MPCS<{POST_SNAPBACK}>UDFPerhaps, he only requires the path founded in the registry. (I believe)$defaultBrowser = StringSplit(RegRead("HKEY_CLASSES_ROOT\http\shell\open\command", ""), " ") Run($defaultBrowser[1] & " http://www.autoit3.com/") Edited October 26, 2004 by josbe AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta
Matt @ MPCS Posted October 26, 2004 Posted October 26, 2004 That's what I was talking about, thanks Josbe! *** Matt @ MPCS
lte5000 Posted October 26, 2004 Posted October 26, 2004 Why not use DllCall?DllCall("shell32.dll", "long", "ShellExecute", "hwnd", 0, "string", "", "string", "http://www.autoit3.com/", "string", "", "string", "", "long", @SW_SHOWNORMAL)Thanks to this post. Kendall
the_lord_mephy Posted October 27, 2004 Author Posted October 27, 2004 (edited) Sorry, I searched the Manual for default browser and nothing came up, searching the forum didn't cross my mind for some reason. Edit and I don't want to even try DLL calling yet, josbe. yours works beautifully. Edited October 27, 2004 by the_lord_mephy My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote]
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