Skip to content

How to clean up all elements of a document in the start of a script? #3

@anhqle

Description

@anhqle

I test run the script in development multiple times. If I create a new document at the start of every script, it will lead to many open document in Illustrator very quickly.

If I choose the active document at the start of the script instead, it does not open new documents but it will write on top of whatever is already there.

Is there a way to select the active document but wipe it clean in the beginning of the script?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions