Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Menu.SetURL

Sets the URL to query when menu is used.

Component Version macOS Windows Linux Server iOS SDK
Menu 6.5 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Menu.SetURL"; menu; URL )   More

Parameters

Parameter Description Example
menu The reference to the menu. Please create one with Menu.CreateMenu. $menu
URL The URL to trigger.

Result

Returns OK or error.

Description

Sets the URL to query when menu is used.
$$ID$$ in the URL is replaced with menu ID.
Queries http/ftp/sftp URLs with CURL, other URLs passed to OS to open.

See also

Blog Entries

This function is free to use.

Created 11st October 2016, last changed 11st October 2016


Menu.SetTitle - MenuItem.CreateMenuItem