Skip to content

exporting patches in batch #5

@giuliomoro

Description

@giuliomoro

One could in principle use this plugin to export patch renders from a script:

pd -open mypatch.pd -send 'pd plugin-dispatch ::patch2svg::exportall mypatch.svg' &
PID="$!"
sleep 1
kill -2 "$PID"

However, by the time exportall is called, there's no patchwindows available, so nothing happens in foreach w [get_patchwindows] and nothing gets exported.

A hack is to add a delay and schedule a retry if there's no patchwindows: giuliomoro@fd51045

Is there a better way of doing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions