Livecode Wiki

Launches a url in a widget


launch url tUrl in widget

Use the launch url command to open a url within a widget. When launch url in widget is called, LiveCode sends a OnLaunchURL message to that widget with url as the parameter. The widget can then display the url in an appropriate manner.

The supported url types will vary depending on the capabilities of the widget.


launch url "" in widget "myWebBrowser"

Note: The url must be a standards-compliant URL. In particular, file: urls must be of the form file://<absolute path>, and the path should be URL-encoded.

See also: URLEncode function, OnLaunchURL message