but how can I use it? Simply trying to include 'load_plugin_script' gives me "symbol load_plugin_script not found"

I'm trying something like this in the setup

    char plugin[MAXPDSTRING];

    sprintf(plugin, "%s/else-browser.tcl", else_obj_class->c_externdir->s_name);

    load_plugin_script(plugin);


Em sáb., 13 de mai. de 2023 às 08:04, IOhannes m zmölnig <zmoelnig@iem.at> escreveu:
Am 12. Mai 2023 21:51:15 MESZ schrieb Alexandre Torres Porres <porres@gmail.com>:
> within"category_menu::create .popup"    ("eval" body
>line 55)    invoked from within"eval [read [open [file join
>/Users/ale/Documents/Pd/externals/else else-browser.tcl]]]" 


For starters, this is really not how you should try to load your gui-plugin.
Instead use the `load_plugin_script` proc. (Speaking of which: note to myself to remove the "tcl" extension when calling this proc)


mfg.sfg.jfd
IOhannes


_______________________________________________
Pd-dev mailing list
Pd-dev@lists.iem.at
https://lists.puredata.info/listinfo/pd-dev