i wonder whether it would be possible (with Pd>=0.42) to create a patch that creates a gui-plugin on the fly. if this is true, then you can already do everything that [file] allows you to do - and much more
yes, but [file] will be extremely useful in the "-nogui" and libpd contexts.
BTW, and about the "exploits", I'm wondering if this would be feasible to implement a safety lock callable from a libpd based application, that would restrict the write permission (of every Pd object) to a given list of directories.
Le mar. 31 août 2021 à 15:12, Christof Ressi info@christofressi.com a écrit :
The exploit successfully changes my MIDI settings and adds search paths, but unfortunately it crashes with a completely wiped stack before showing me the Tk dialog :-( On 31.08.2021 14:33, IOhannes m zmoelnig wrote:
On 8/31/21 1:05 PM, IOhannes m zmoelnig wrote:
¹ i wonder whether it would be possible (with Pd>=0.42) to create a patch that creates a gui-plugin on the fly. if this is true, then you can already do everything that [file] allows you to do - and much more.
like with the attached patch.
i've tested this on Linux, macOS and Windows (where i have an msys installation and some folders that might make the exploit work - but which might not be present on your machine).
running the patch will add a few search-paths to your preferences and probably modify your MIDI-settings. apart from that, it shouldn't do any harm (though i wouldn't recommend to run it if you have a show tonight). use at your own risk.
gmasdr IOhannes
_______________________________________________Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev