| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
ScriptWorkspace.SetFocusToScript
Sets the focus to script.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| ScriptWorkspace | 16.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "ScriptWorkspace.SetFocusToScript" )
Parameters
none
Result
Returns OK or error.
Description
Sets the focus to script.Examples
Define a hotkey to set focus to script:
Set Variable [ $Hotkey ; Value: MBS("HotKey.Register"; "F"; "option control command") ]
Set Variable [ $r ; Value: MBS("HotKey.SetEvaluate"; $Hotkey; "MBS( \"ScriptWorkspace.SetFocusToScript\" )") ]
Set Variable [ $r ; Value: MBS("HotKey.SetEvaluate"; $Hotkey; "MBS( \"ScriptWorkspace.SetFocusToScript\" )") ]
See also
- HotKey.Register
- HotKey.SetEvaluate
- ScriptWorkspace.IsFocusOnScript
- ScriptWorkspace.IsFocusOnScriptList
- ScriptWorkspace.SetFocusToScriptList
Release notes
- Version 16.4
- Added ScriptWorkspace.SetFocusToScript function.
- Improved ScriptWorkspace.SetFocusToScriptList function.
- Version 15.2
- Added ScriptWorkspace.IsFocusOnScriptList and ScriptWorkspace.SetFocusToScriptList functions.
Blog Entries
- Neues MBS Plugin 16.4 für Claris FileMaker
- MBS Plugin 16.4 for Claris FileMaker
- MBS FileMaker Plugin, version 16.4pr6
This function is free to use.
Created 10th September 2026, last changed 10th September 2026
ScriptWorkspace.SetBackgroundColor - ScriptWorkspace.SetFocusToScriptList
MarkDown version: ScriptWorkspaceSetFocusToScript.md