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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
HotKey.SetScriptWorkspaceOnly
Sets whether this should be limited to script workspace.
| Component | Version | macOS | Windows | Linux | Server | FileMaker 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
Blog Entries
Release notes
- Version 10.2
- Added HotKey.SetScriptWorkspaceOnly and HotKey.GetScriptWorkspaceOnly functions.
Created 16th March 2020, last changed 19th April 2020
HotKey.SetScript - HotKey.SetTag
Feedback: Report problem or ask question.
Links
MBS Xojo blog