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

2011-09-21 Thread Mike Moser-Booth
I'll look into it and see if it's something I can handle. I'm a bit knee deep in my Master's research right now, though, so it might be slow-going. ;-) .mmb 2011/9/19 Hans-Christoph Steiner h...@at.or.at: That would be very useful, great idea!  I'll happily help you get that going if you are

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

2011-09-21 Thread Hans-Christoph Steiner
Good luck with your Masters' research, just let me know on this list or #dataflow if you have questions. .hc On Wed, 2011-09-21 at 12:58 -0400, Mike Moser-Booth wrote: I'll look into it and see if it's something I can handle. I'm a bit knee deep in my Master's research right now, though, so

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

2011-09-19 Thread Hans-Christoph Steiner
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

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

2011-09-19 Thread João Pais
one of the first things to do could be a drag+drop version of openpanel. I suggest to make it with an take whole canvas option - so that a file can be dropped anywhere in the canvas, and it's symbol location goes to the relevant patch sequence. Patko and I just got TkDND working on

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

2011-09-19 Thread Mike Moser-Booth
A bit of a variation on what João is suggesting, but I think a simple [cnv]-like gui object that will take a drag-and-drop file and output the path and filename would be nice. Something that just defines an area to drop on. Then you could just do simple things like stick the [cnv] behind an array

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

2011-09-19 Thread Hans-Christoph Steiner
That would be very useful, great idea! I'll happily help you get that going if you are willing to take it on. I don't think it would be very hard to do. Basically, just take the plugin I wrote, but bind to the canvas widget that the object makes rather than the patch window. Then it

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

2011-09-19 Thread Pierre Massat
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 h...@at.or.at I updated the plugin to also work on canvases. Drop a Pd file onto the canvas, and it'll

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

2011-09-19 Thread Hans-Christoph Steiner
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

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

2011-09-19 Thread Pierre Massat
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 h...@at.or.at All you need to do is put it into the

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

2011-09-19 Thread Mathieu Bouchard
Le 2011-09-19 à 20:52:00, Pierre Massat a écrit : 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. Don't you also need to install a tk plugin named tkdnd 

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

2011-09-19 Thread Hans-Christoph Steiner
On Sep 19, 2011, at 9:43 PM, Mathieu Bouchard wrote: Le 2011-09-19 à 20:52:00, Pierre Massat a écrit : 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

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

2011-09-19 Thread Mathieu Bouchard
Le 2011-09-19 à 13:04:00, Hans-Christoph Steiner a écrit : What I've been thinking of doing is have file association patches, so like wav.pd, mov.pd, mp3,pd, etc. Then when you drop a .wav file onto a canvas, it would copy-n-paste the contents of wav.pd where you dropped the .wav file. It

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

2011-09-19 Thread Hans-Christoph Steiner
On Sep 20, 2011, at 12:38 AM, Mathieu Bouchard wrote: Le 2011-09-19 à 13:04:00, Hans-Christoph Steiner a écrit : What I've been thinking of doing is have file association patches, so like wav.pd, mov.pd, mp3,pd, etc. Then when you drop a .wav file onto a canvas, it would copy-n-paste the