ass_get_selection
Retrieve the current selection in an Aegisub document, returning selected line indices and line details, while filtering out any out-of-range indices.
Instructions
Read back the session selection.
Returns {"doc_id", "selection": [<0-based indices>], "count", "lines": [<line dicts, same shape as ass_list_lines>]} and drops indices
that are out of range for the current document. Line indices are 0-based.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||