Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

HotKey.SetName

Sets the name of a hotkey.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
HotKey 5.4 Yes Yes No No No

MBS( "HotKey.SetName"; HotKeyRef )

Parameters

Parameter Description Example value
HotKeyRef The reference value for the hotkey as returned by HotKey.Register function. $hotkey

Result

Returns OK or error.

Description

Sets the name of a hotkey.
This is just your own name which you can query. The plugin does not use this information.

Examples

Register new hotkey with name:

Set Variable [$HotKeyID; Value:MBS("HotKey.Register"; "F5"; "shift control")]
Set Variable [$r; Value:MBS("HotKey.SetScript"; $HotKeyID; Get(FileName); "HotkeyAction")]
Set Variable [$r; Value:MBS("HotKey.SetName"; $HotKeyID; "Search People")]

See also


HotKey.SetLocal   -   HotKey.SetScript

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins