Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

ScriptWorkspace.SetFocusToScriptList

Set the focus to the script list in the Script Workspace.

Component Version macOS Windows Linux Server iOS SDK
ScriptWorkspace 15.2 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "ScriptWorkspace.SetFocusToScriptList" )

Parameters

none

Result

Returns OK or error.

Description

Set the focus to the script list in the Script Workspace.
This may help to make sure copy & paste commands to the script list target the scripts.

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\" )") ]

See also

Release notes

Blog Entries

This function is free to use.

Created 28th March 2025, last changed 10th September 2026


ScriptWorkspace.SetFocusToScript - ScriptWorkspace.SetScriptListSearch


MarkDown version: ScriptWorkspaceSetFocusToScriptList.md