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

HotKey.SetIgnoreOnModal

Sets state for modal dialogs.

Component: HotKey
Version: 5.4
Mac OS X: Yes
Windows: Yes
Server: No
FileMaker Cloud: No

MBS( "HotKey.SetIgnoreOnModal"; HotKeyRef; Value )

Parameters

Parameter Description Example value
HotKeyRef The reference value for the hotkey as returned by HotKey.Register function. $hotkey
Value The new state. 1 to enable, 0 to disable. 1

Result

Returns OK or error.

Description

Sets state for modal dialogs.
If set to 1, Hotkey scripts are not triggered in case a modal window is frontmost.

Examples

Set state:

MBS( "HotKey.SetIgnoreOnModal"; "35001"; 1 )

See also


HotKey.SetEvaluate   -   HotKey.SetKeyUp

Feedback: Report problem or ask question.




Links
MBS FileMaker blog