View Single Post
  #4  
Unread 07-25-2015, 05:13 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Send a message via AIM to Drumstix42 Send a message via MSN to Drumstix42 Send a message via Yahoo to Drumstix42
Default

I think the reason I never originally went down that route, was because you have to supply a direct file location to launch a browser. So it would require users to edit it, or possibly have me implement the text-saving feature.

I *think* this is the command:
/shell_open <file>

Basically, for example:
C:\Program Files (x86)\Mozilla Firefox\firefox.exe

But I don't know if this slash command passes arguments too, ie:
C:\Program Files (x86)\Mozilla Firefox\firefox.exe -new-tab http://google.com

You could give it a try by pasting it in-game chat and trying it out (you'll have to edit for your filepath as needed)

/shell_open "C:\Program Files (x86)\Mozilla Firefox\firefox.exe -new-tab http://google.com"

Experiment with the quotes being there or not. If you use chrome, just look up the command line arguments for it online.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote