Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

HotKey.SetScriptWorkspaceOnly

Sets whether this should be limited to script workspace.

Component Version macOS Windows Linux Server iOS SDK
HotKey 10.2 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "HotKey.SetScriptWorkspaceOnly"; HotKeyRef; Value )   More

Parameters

Parameter Description Example
HotKeyRef The reference value for the hotkey as returned by HotKey.Register function. $hotkey
Value The new setting.
Pass 1 to limit to script workspace or 0 to allow it everywhere.
1

Result

Returns OK or error.

Description

Sets whether this should be limited to script workspace.
Currently only implemented for MacOS.

Examples

Make hotkey to run in script workspace only:

MBS( "HotKey.SetScriptWorkspaceOnly"; $HotKeyRef; 1 )

See also

Release notes

Blog Entries

This function checks for a license.

Created 16th March 2020, last changed 19th April 2020


HotKey.SetScript - HotKey.SetTag

💬 Ask a question or report a problem