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

ScriptWorkspace.IsActive

Checks if front window with focus is Script Workspace.

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

Parameters

none

Result

Returns 1, 0 or error.

Description

Checks if front window with focus is Script Workspace.
Returns 1 if Script Workspace has focus.

e.g. if you trigger an evaluation via hotkey functions, you can use this function to check if you are in Script Workspace.

See also

Release notes

Blog Entries

This function checks for a license.

Created 2nd December 2019, last changed 16th November 2023


ScriptWorkspace.GetScriptListSearch - ScriptWorkspace.IsVisible