Radsam 0 Posted April 6, 2005 Hi When I use the following function to navigate to a page, it will use an already opened browser to navigate if one is actually open. How can I make it so that the following code opens a new, seperate browser if there is a browser already open? Func _BrowseURL($sURL) RunWait(@Comspec & ' /c START "" "' & $sURL & '"', "", @SW_HIDE) EndFunc Share this post Link to post Share on other sites
Ejoc 1 Posted April 6, 2005 (edited) I use Firefox and I set it in the browser to open a new tab, maybe IE has the same option, oh wait no tabs, maybe it will let you open a new window. *EDIT Looking at IE options: Under Advanced I see an option 'Reuse Windows for launching shortcuts' Maybe thats it. Edited April 6, 2005 by Ejoc Start -> Programs -> AutoIt v3 -> AutoIt Help File -> Index -> (The Function you are asking about)----- Links -----DllStruct UDFsRSA Crypto UDFs Share this post Link to post Share on other sites
Radsam 0 Posted April 6, 2005 (edited) Ah yes. THere is an option in the Advanced tab of IE called "Reuse windows for launching shortcuts." I removed the check and all it good now. Does anyone know the registry key to read this option? I'd like to be able to adjust this through the registry if ever needed. NEVERMIND, I FOUND ANSWER IN MSDN... Edited April 6, 2005 by Radsam Share this post Link to post Share on other sites