[PD] drag-n-drop support in Pd-extended (TkDND)

Pierre Massat pimassat at gmail.com
Mon Sep 19 20:52:26 CEST 2011


I did just that, but how can i actually use the plugin once i've launched
Pd? I created a canvas in a new patch and tried dragging a pd file from my
tesktop onto it, but nothing happened.

Pierre

2011/9/19 Hans-Christoph Steiner <hans at at.or.at>

>
> All you need to do is put it into the %CommonProgramFiles%\Pd folder, the
> actual name of the folder that CommonProgramFiles points to can vary
> depending on the language of your system.  Here's more info:
>
> http://puredata.info/docs/faq/how-do-i-install-externals-and-help-files
>
> .hc
>
> On Sep 19, 2011, at 2:41 PM, Pierre Massat wrote:
>
> I've put the plugin in the Common Files/Pd folder, and added a reference to
> it in Path..., but it won't work. Is there something else i need to do?
>
> Pierre
>
> 2011/9/19 Hans-Christoph Steiner <hans at at.or.at>
>
>>
>> I updated the plugin to also work on canvases.  Drop a Pd file onto the
>> canvas, and it'll make an object using that.
>>
>> .hc
>>
>>
>>
>>
>> On Sep 19, 2011, at 12:32 AM, Hans-Christoph Steiner wrote:
>>
>>
>>> Patko and I just got TkDND working on Windows and included Pd-extended
>>> 0.43.  That means tomorrows nightly build should have it included, and
>>> its ready for scripting with.  TkDND allows Pd to handle drag-n-drop
>>> events, so you can do things like drop a file onto the Pd window to open
>>> it (implemented in the attached plugin) or drop a pd patch onto a canvas
>>> to make an object (also kind of implemented in the plugin).
>>>
>>> There are lots of interesting ideas possible, I'm hoping you will play
>>> with it and see what kinds of stuff we can do.  I forgot who originally
>>> implemented the TkDND stuff for Pd, but this is based on that work, so
>>> thanks for that.
>>>
>>> .hc
>>> <tkdnd-plugin.tcl>
>>>
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------**------------------------------**
>> ----------------
>>
>> "It is convenient to imagine a power beyond us because that means we don't
>> have to examine our own lives.", from "The Idols of Environmentalism", by
>> Curtis White
>>
>>
>>
>>
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>
>
>
>
> ----------------------------------------------------------------------------
>
> News is what people want to keep hidden and everything else is
> publicity.          - Bill Moyers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110919/b83a2bcd/attachment.htm>


More information about the Pd-list mailing list