[PD] drag and drop external?

oliver oliver at klingt.org
Tue Mar 13 08:12:41 CET 2018


here's my personal hack to provide a windows PD with drag and drop features.

it's a modified .tcl script i from IOhannes (originally from here:

the script provides the following:

original script:

1.) opens a PD patch when dropped onto PD window
2.) creates a PD object when a .pd file is dropped upon a patch canvas

the modified part:

3.) sends the name of any dropped file (anything else than "*.pd") to a 
global receiver. with the extra information of a GOP size and position, 
a "drop field" can be defined (see subpatch "dropname").

the whole mechanism is, as i said, a hack and needs IEMGUTS loaded. also 
an extra tcl package called "tkdnd2.6" (included in attached .zip).

it's perfectly "working on my machine". the dnd readout is located 
inside [ol_dropfile]'s subpatch called [pd dropname].

i included all the files that are needed and where to put them. don't 
know if it's working on OSX and/or linux (untested there ...)

hope this helps



Alexandre Torres Porres wrote:
> 2018-03-12 13:29 GMT-03:00 Ingo <ingo at miamiwave.com 
> <mailto:ingo at miamiwave.com>>:
>     Drag & Drop would definitely be cool!
>     I got something going with the old (deprecated) [toxy/tot] but it's very
>     complicated like that.
> can you share?
> So it would be possible with an external, huh? I thought that maybe, 
> somehow, it could only be possible with a .tcl plugin, like posted here.
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list

/////////////// http://pendler.klingt.org //////////////
\\\\\\\\\\\\\\\ http://oliver.klingt.org  \\\\\\\\\\\\\\
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ol_dnd.zip
Type: application/octet-stream
Size: 102160 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180313/52599c55/attachment-0001.obj>

More information about the Pd-list mailing list