WoW:API LaunchURL: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 33: Line 33:
This can be use to communicate with other programs.<br>
This can be use to communicate with other programs.<br>
Just create a program and register it as the default browser.<br>
Just create a program and register it as the default browser.<br>
----
----
{{Template:WoW API}}
{{WoW API}}
[[Category:API Functions|LaunchURL]]
[[Category:API System Functions|LaunchURL]]

Revision as of 05:29, 4 January 2006

Launches an external web browser and navigates to the URL provided.

LaunchURL("URL")


Arguments
"URL": URL of the website to open. Seems to only accept some URLs, works with base URL of the world of warcraft websites (wow-europe.com, worldofwarcraft.com, etc).

Returns
nil

Example

LaunchURL("http://www.worldofwarcraft.com");

Result

Navigates a new web browser window to http://www.worldofwarcraft.com


Description
Launches an external web browser and navigates to the URL provided.

Possible Exploits?

As in 1.8.4(or earlier ) It also seams to work to navigate to "www.wow-europe.com/wow.php/argument/variabel".
You can't use numbers in the string only aplhabetic charaters , "/" and "-".
It also open the webpage in your default browser. Not only MSIE.
This can be use to communicate with other programs.
Just create a program and register it as the default browser.


Template:WoW API