View Single Post
  #8  
Unread 09-21-2018, 10:09 AM
Darqwood's Avatar
Darqwood Darqwood is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Aug 2005
Posts: 850
Default

The browserexternal game command can be used in place of the browser command when calling a URL. When typing in the chat window it does what you expect -- loads the URL into your default browser instead of the in-game browser.

Much of the time gamers want to direct-load a quest, mob, etc., that contains spaces within the name. In-game, this can be accomplished for browserexternal using quotation marks:

Chat window:
/browserexternal "http://u.eq2wire.com/q/An Axe from the Past"

Internal (click a button on the UI):
browser "http://u.eq2wire.com/q/" + An Axe from the Past
browserexternal -- does not work unless no spaces

I tried every trick I know to get URLs with spaces to transfer out with browserexternal. (Did not experiment with do_file_commands, not keen on that system.) If anybody wants to take a crack at it I'd be glad to incorporate the fix as an option into the many various browser calls in DarqUI. Using an external browser plus full-screen windowed mode could be a practical alternative to using the in-game browser.


.
Reply With Quote