[PD] drag and drop external?

Lucas Cordiviola lucarda27 at hotmail.com
Mon Mar 12 23:16:05 CET 2018


Unfortunately

https://github.com/megrimm/pd-dnd-plugin

does not work on Windows:

********************************

Loading plugin: C:/Users/Lucarda/AppData/Roaming/pd/dnd-plugin.tcl
-
Drag and Drop on Window
Drag and Drop on Canvas
-
-----------
UNHANDLED ERROR: couldn't load library "C:/Users/Lucarda/AppData/Roaming/pd/tkdnd/libtkdnd2.8.dylib": invalid argument
    while executing
"load $dir/$PKG_LIB_FILE $PACKAGE_NAME"
    (procedure "tkdnd::initialise" line 92)
    invoked from within
"tkdnd::initialise {C:/Users/Lucarda/AppData/Roaming/pd/tkdnd} libtkdnd2.8.dylib tkdnd"
    ("package ifneeded tkdnd 2.8" script)
    invoked from within
"package require tkdnd"
    ("uplevel" body line 18)
    invoked from within
"uplevel #0 $tclcode"
FAILED TO LOAD C:/Users/Lucarda/AppData/Roaming/pd/dnd-plugin.tcl
-----------


******************************************************

Mensaje telepatico asistido por maquinas.

On 3/12/2018 5:34 AM, IOhannes m zmoelnig wrote:

On 2018-03-12 07:53, Alexandre Torres Porres wrote:


Hi, would it be possible to write an external that could respond to drag
and drop? Like opening a file or something? Was anything like this ever
done? Or is it impossible cause it'd require some changes to Pd?



yes, it was done.
e.g. https://github.com/megrimm/pd-dnd-plugin

fg
asrdm
IOhannes





_______________________________________________
Pd-list at lists.iem.at<mailto:Pd-list at lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180312/bc767272/attachment.html>


More information about the Pd-list mailing list