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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
ScriptWorkspace.SelectLines
Selects lines in current script.
| Component | Version | macOS | Windows | Linux | Server | FileMaker 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
- ScriptWorkspace.IsActive
- ScriptWorkspace.ScriptNames
- ScriptWorkspace.ScrollToLine
- ScriptWorkspace.SelectedLine
- ScriptWorkspace.SelectedLines
- ScriptWorkspace.SelectLine
Blog Entries
Release notes
- Version 10.0
- Fixed bug in ScriptWorkspace.SelectLines with negative row numbers.
Created 20th December 2018, last changed 4th December 2019
ScriptWorkspace.SelectLine - ScriptWorkspace.SelectedLine
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins