You can do [loadbang] -> [source some-plugin.tcl( -> [hcs/sys_gui]. Not the most elegant method but it works. Seems like a job for [declare].
On Wed, Nov 13, 2024 at 1:50 AM Chris McCormick chris@mccormick.cx wrote:
Hi,
Is it possible to have a Tcl extension load from an abstraction directory or -declare path (when the abstraction loads) instead of the top level Pd search path? In other words I want to put something-plugin.tcl into a folder that is not on the search path and have it load when I load the patch or abstraction in the folder where it is. I guess the ultimate use-case is plugins that only load with a particular abstraction.
Cheers,
Chris.
pd-list@lists.iem.at - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/5M7WHO3PZA...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/