ScriptWorkspace.SelectedLine
----------------------------

Queries selected line.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ScriptWorkspace](component_ScriptWorkspace.md) | [7.4](newinversion74.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "ScriptWorkspace.SelectedLine" ) ### Parameters

none

### Result

Returns line number or error.

### Description

Queries selected line.  
### See also

- [ScriptWorkspace.ScrollToLine](ScriptWorkspaceScrollToLine.md)
- [ScriptWorkspace.SelectedLines](ScriptWorkspaceSelectedLines.md)
- [ScriptWorkspace.SelectGroup](ScriptWorkspaceSelectGroup.md)
- [ScriptWorkspace.SelectLine](ScriptWorkspaceSelectLine.md)
- [ScriptWorkspace.SelectLines](ScriptWorkspaceSelectLines.md)

### Release notes

- **Version 10.0**
    - Added [ScriptWorkspace.SelectedLines](https://www.mbsplugins.eu/ScriptWorkspaceSelectedLines.shtml) function.

This function checks for a license.

Created 14th August 2017 , last changed 14th August 2017

  
[ScriptWorkspace.SelectLines](ScriptWorkspaceSelectLines.md) - [ScriptWorkspace.SelectedLines](ScriptWorkspaceSelectedLines.md)

[HTML Version](ScriptWorkspaceSelectedLine.shtml)