Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

HotKey.SetLocal

Sets the local flag.

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

MBS( "HotKey.SetLocal"; HotKeyRef; Local )

Parameters

Parameter Description Example value
HotKeyRef The reference value for the hotkey as returned by HotKey.Register function. $hotkey
Local Set to 1 to only run hotkey if FileMaker is frontmost application. 0

Result

Returns OK or error.

Description

Sets the local flag.

Examples

Create hotkey and set local only:

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.SetLocal"; $HotKeyID; 1)]

See also

Created 21st October 2015, last changed 21st October 2015


HotKey.SetKeyUp   -   HotKey.SetName

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins