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?
One could in principle use this plugin to export patch renders from a script:
However, by the time
exportallis called, there's no patchwindows available, so nothing happens inforeach 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?