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


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


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


Returns OK or error.


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