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

ScriptWorkspace.SelectLine

Selects a line in current script.

Component Version macOS Windows Linux Server iOS SDK
ScriptWorkspace 7.4 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "ScriptWorkspace.SelectLine"; Line { ; Scroll } )   More

Parameters

Parameter Description Example Flags
Line The new line number.
If negative, will be relative to end.
10
Scroll Whether to scroll to move row visible. 1 Optional

Result

Returns OK or error.

Description

Selects a line in current script.
Line number can be be negative to select a line relative to end of script.

See also

Release notes

Blog Entries

This function checks for a license.

Created 14th August 2017, last changed 20th December 2018


ScriptWorkspace.ScrollToSelection - ScriptWorkspace.SelectLines