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


Queries selected line numbers.

Component Version macOS Windows Linux Server iOS SDK
ScriptWorkspace 10.0 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "ScriptWorkspace.SelectedLines" { ; Ranges } )   More


Parameter Description Example Flags
Ranges Whether to return list with ranges.
Pass 1 for ranges or 0 for just line numbers.
1 Optional


Returns list or error.


Queries selected line numbers.
If ranges is 1, we return ranges like "3-5¶7¶10-12", otherwise we return "3¶4¶5¶7¶10¶11¶12".

See also

Release notes

Blog Entries

This function checks for a license.

Created 4th December 2019, last changed 4th December 2019

ScriptWorkspace.SelectedLine - ScriptWorkspace.SetScriptListSearch