Re: Load extensions from abstraction folder?

adam johnson <[email protected]>
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <CAGdwZQW40yOoy7Y52WNGZ5N-nJFnaqmCrDcmU7PJbDrvNSnitA@mail.gmail.com>
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 <[email protected]> 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.
>
> --
> https://mccormick.cx/
>
> ---
> [email protected] - the Pure Data mailinglist
>
> https://lists.iem.at/hyperkitty/list/[email protected]/message/5M7WHO3PZADXDDPKMLLYR6XKCS252UHQ/
>
> To unsubscribe send an email to [email protected] mailing list
> UNSUBSCRIBE and account-management -> https://lists.iem.at/
>
>

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/66MPXDGJHY3LOWZQZNJM5BH3S77RN7OZ/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.