WoW:API LaunchURL: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API LaunchURL to API LaunchURL without leaving a redirect)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{wowapi|removed=1.10.0}}
Launches an external web browser and navigates to the URL provided.
Launches an external web browser and navigates to the URL provided.


LaunchURL("URL")
LaunchURL("url")


----
== Parameters ==
;''Arguments''
=== Arguments ===
* URL (string) - URL of the website to open. Seems to only accept some URLs, works with base URL of the world of Warcraft websites, like wow-europe.com, worldofwarcraft.com, etc....


:''"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 ===
: none


----
== Example ==
;''Returns''
LaunchURL("http://www.worldofwarcraft.com")


:;nil
;Result
 
----
;''Example''
<nowiki> LaunchURL("http://www.worldofwarcraft.com");</nowiki>
 
;''Result''
Navigates a new web browser window to http://www.worldofwarcraft.com
Navigates a new web browser window to http://www.worldofwarcraft.com


----
== Notes ==
;''Description''
* This function still exists inside the login Lua environment, however not in the addon environment.
 
* Removed in patch 1.10.0
: Launches an external web browser and navigates to the URL provided.
----
 
{{WoW API}}

Latest revision as of 04:46, 15 August 2023

WoW API < LaunchURL

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

LaunchURL("url")

Parameters[edit]

Arguments[edit]

  • URL (string) - URL of the website to open. Seems to only accept some URLs, works with base URL of the world of Warcraft websites, like wow-europe.com, worldofwarcraft.com, etc....

Returns[edit]

none

Example[edit]

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

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

Notes[edit]

  • This function still exists inside the login Lua environment, however not in the addon environment.
  • Removed in patch 1.10.0