getweburl
Returns the current Web GUI URL and port.
📝Syntax
[url, port] = getweburl()
📤Output Arguments
Parameter Description
url Current Web GUI URL, or an empty string outside an active web launch.
port Current Web GUI port, or 0 outside an active web launch.
📄Description

getweburl() returns the effective HTTP URL and port used by the current Web GUI session. A private webview launch still has an internal localhost port, but that URL is not printed at startup.

💡Examples
[url, port] = getweburl()
🔗See Also
getwebmode
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub