ass_set_comment
Convert selected ASS subtitle lines between Dialogue and Comment, or delete them, to toggle commented events in Aegisub subtitle documents.
Instructions
Convert lines between Dialogue: and Comment:.
Args:
selection: selection spelling; None = every line.
comment: True converts to Comment:, False back to
Dialogue:.
drop: delete the selected lines instead of converting them.
Returns {"doc_id", "changed": [<0-based indices>], "count", "comment", "dropped"}. Snapshot-backed. Indices are 0-based.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drop | No | ||
| doc_id | No | ||
| comment | No | ||
| selection | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||