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

MenuItem.GetScriptFileName

Queries which file contains the script to be run if menu item is selected.

Component Version macOS Windows Linux Server iOS SDK
Menu 4.1 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "MenuItem.GetScriptFileName"; item )   More

Parameters

Parameter Description Example
item The reference to the menu item. Please create one with MenuItem.CreateMenuItem or MenuItem.CreateSeparator. $item

Result

Returns file name or error.

Description

Queries which file contains the script to be run if menu item is selected.

See also

This function is free to use.

Created 18th August 2014, last changed 31st August 2014


MenuItem.GetRequireShift - MenuItem.GetScriptName