VoxCommando Forum

Help and Support (Using VoxCommando) => VoxCommando Basics and Core Features => Topic started by: Minefield on November 27, 2014, 07:01:06 PM

Title: VC opening websites in wrong browser
Post by: Minefield on November 27, 2014, 07:01:06 PM
Wasn't sure if anyone else had come across this.
I'm trying to get VC to auto login and start Sky Go in internet explorer, as it's less juddery than chrome, but VC keeps opening the URL in Chrome.
I've got IE set as default browser and have confirmed in the chrome settings that it isn't the default.
Im using the command Launch.OpenURL

fyi when I use the 'show help' command the page opens in IE.
Title: Re: VC opening websites in wrong browser
Post by: nime5ter on November 27, 2014, 07:05:50 PM
Strange behaviour indeed.

If you need to force choose the correct browser, just use the Launch action instead of Launch.OpenURL

http://voxcommando.com/forum/index.php?topic=1493.msg12977#msg12977

http://voxcommando.com/mediawiki/index.php?title=Actions#Launch
Title: Re: VC opening websites in wrong browser
Post by: jitterjames on November 27, 2014, 07:16:01 PM
This may shed some light: http://superuser.com/questions/498467/why-is-my-default-browser-setting-being-ignored

There is some ambiguity about the default browser in Windows, and it probably also varies from one version of the OS to another.  It is interesting that "show help" behaves differently.  I thought that it just called the same function as Launch.OpenUrl. I will need to look at the actual source code to see why that is different.  What version of VC are you using?

Anyway, nime5ter's suggestion is probably the easiest fix for your current situation.
Title: Re: VC opening websites in wrong browser
Post by: Minefield on November 27, 2014, 07:30:00 PM
Thanks, used nime5ter's suggestion and it worked perfectly.

Can't believe the speed of the reply's on this forum.  It's almost realtime.
Title: Re: VC opening websites in wrong browser
Post by: jitterjames on November 28, 2014, 04:55:41 PM
Actually, I just realized that this is not strange at all.  It is exactly what I thought it was.

The LaunchURL action is opening an URL and when you click "ShowHelp" it is opening an html file from your hard drive.

So your default browser for html files is Internet Explorer and your default browser for URLs is Chrome.

To see what I mean, I think you can drag a web shortcut from your browser's address bar to your desktop.  When you double-click that link it should open in Chrome.