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

ScriptWorkspace.IsFocusOnScript

Queries whether the focus is to the script editor in the Script Workspace.

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

Parameters

none

Result

Returns 1, 0 or error.

Description

Queries whether the focus is to the script editor in the Script Workspace.
Returns 1 if focus in the Script Workspace is on the script editor.

See also

Release notes

This function is free to use.

Created 29th September 2026, last changed 29th September 2026


ScriptWorkspace.IsActive - ScriptWorkspace.IsFocusOnScriptList


MarkDown version: ScriptWorkspaceIsFocusOnScript.md