clipboard
Transfer text and images between the system and Aseprite: inspect, get, set, clear, or save rendered sprite frames, layers, and rectangles.
Instructions
Reads or writes the system clipboard: info, get_text, set_text, clear, get_image (returned as a preview image, or saved to 'file'), set_image (from an image file, or a rendered sprite frame/layer/rect).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | get_image: save here; set_image: load from here | |
| rect | No | ||
| text | No | ||
| frame | No | 1-based frame number. Defaults to the active frame (or 1). | |
| layer | No | Layer name, 'Group/Child' path, or 1-based index from get_sprite_info. Defaults to the active layer. | |
| action | Yes | ||
| sprite | No | File path, open tab title, or sprite id. Defaults to the active sprite (live). Batch mode needs a file path. | |
| backend | No | auto (default): live Aseprite if connected, else headless batch |