Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

ScriptWorkspace.SelectLines

Selects lines in current script.

Component Version macOS Windows Linux Server iOS SDK
ScriptWorkspace 9.0 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "ScriptWorkspace.SelectLines"; Line1; Line2 )   More

Parameters

Parameter Description Example
Line1 The first line number.
If negative, will be relative to end.
10
Line2 The last line number.
If negative, will be relative to end.
15

Result

Returns OK or error.

Description

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

Examples

Select rows 5 to 10:

MBS( "ScriptWorkspace.SelectLines"; 5; 10 )

Select last two lines:

MBS( "ScriptWorkspace.SelectLines"; -2; -1 )

See also

Release notes

Blog Entries

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


ScriptWorkspace.SelectLine - ScriptWorkspace.SelectedLine

Feedback: Report problem or ask question.