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
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 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
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 and drop a soundfile on it to load, for example.
.mmb
On Mon, Sep 19, 2011 at 9:05 AM, João Pais jmmmpais@googlemail.com wrote:
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 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
-- Friedenstr. 58 10249 Berlin (Deutschland) Tel +49 30 42020091 | Mob +49 162 6843570 Studio +49 30 69509190 jmmmpais@googlemail.com | skype: jmmmpjmmmp
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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 would call a Tcl proc which would send the info to pd to be
output from the outlet. hcs/cursor is an example of that.
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.
.hc
On Sep 19, 2011, at 12:53 PM, Mike Moser-Booth wrote:
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 and drop a soundfile on it to load, for example.
.mmb
On Mon, Sep 19, 2011 at 9:05 AM, João Pais jmmmpais@googlemail.com
wrote: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 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
-- Friedenstr. 58 10249 Berlin (Deutschland) Tel +49 30 42020091 | Mob +49 162 6843570 Studio +49 30 69509190 jmmmpais@googlemail.com | skype: jmmmpjmmmp
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Mike Moser-Booth mmoserbooth@gmail.com
News is what people want to keep hidden and everything else is
publicity. - Bill Moyers
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 wouldn't know whether you want is a [readsf~], a [soundfiler], or a saved array (or a set thereof, one per channel). I don't think any of those three is a default that makes sense.
Also, how would you make wav.pd have a placeholder for the filename ? $1 could be replaced in objectboxes, but in messageboxes $1 doesn't have the same meaning and it could be a conflict.
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC
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 contents of wav.pd
where you dropped the .wav file.It wouldn't know whether you want is a [readsf~], a [soundfiler], or
a saved array (or a set thereof, one per channel). I don't think any
of those three is a default that makes sense.Also, how would you make wav.pd have a placeholder for the
filename ? $1 could be replaced in objectboxes, but in messageboxes
$1 doesn't have the same meaning and it could be a conflict.
This is already implemented, I just need the tkdnd part to work. The
idea is that people make their own associations, so people figure out
what works for them.
http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/scripts/guiplugi...
.hc
I spent 33 years and four months in active military service and during
that period I spent most of my time as a high class muscle man for Big
Business, for Wall Street and the bankers. - General Smedley Butler
Is there a solve for the readanysf~ not loading because libgavl.1.dylib issue? I would like to run a patch on osx that uses it and I keep getting a lib error Do I need fink to run this object? I tried both 0.42 and what looks like hans' latest build for it but both fail
pp
It only works if installed in one place, so you need to check the README carefully. It must be in /Library/Pd (i.e. off the root), NOT ~/Library/Pd (i.e. in your home).
.hc
On Wed, 2011-09-21 at 14:11 +0000, Pagano, Patrick wrote:
Is there a solve for the readanysf~ not loading because libgavl.1.dylib issue? I would like to run a patch on osx that uses it and I keep getting a lib error Do I need fink to run this object? I tried both 0.42 and what looks like hans' latest build for it but both fail
pp
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 hans@at.or.at:
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 would call a Tcl proc which would send the info to pd to be output from the outlet. hcs/cursor is an example of that.
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.
.hc
On Sep 19, 2011, at 12:53 PM, Mike Moser-Booth wrote:
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 and drop a soundfile on it to load, for example.
.mmb
On Mon, Sep 19, 2011 at 9:05 AM, João Pais jmmmpais@googlemail.com wrote:
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 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
-- Friedenstr. 58 10249 Berlin (Deutschland) Tel +49 30 42020091 | Mob +49 162 6843570 Studio +49 30 69509190 jmmmpais@googlemail.com | skype: jmmmpjmmmp
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Mike Moser-Booth mmoserbooth@gmail.com
News is what people want to keep hidden and everything else is publicity. - Bill Moyers
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 it might be slow-going. ;-)
.mmb
2011/9/19 Hans-Christoph Steiner hans@at.or.at:
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 would call a Tcl proc which would send the info to pd to be output from the outlet. hcs/cursor is an example of that.
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.
.hc
On Sep 19, 2011, at 12:53 PM, Mike Moser-Booth wrote:
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 and drop a soundfile on it to load, for example.
.mmb
On Mon, Sep 19, 2011 at 9:05 AM, João Pais jmmmpais@googlemail.com wrote:
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 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
-- Friedenstr. 58 10249 Berlin (Deutschland) Tel +49 30 42020091 | Mob +49 162 6843570 Studio +49 30 69509190 jmmmpais@googlemail.com | skype: jmmmpjmmmp
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Mike Moser-Booth mmoserbooth@gmail.com
News is what people want to keep hidden and everything else is publicity. - Bill Moyers
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
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.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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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.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@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
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.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.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@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
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 ? That's not the same as the pd-extended plugin, which depends on it... right ?
At least, that's what we had to do back in 2004 when carmen coded tkdnd support for impd with the [dropper] class.
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC
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 happened.Don't you also need to install a tk plugin named tkdnd ? That's not
the same as the pd-extended plugin, which depends on it... right ?At least, that's what we had to do back in 2004 when carmen coded
tkdnd support for impd with the [dropper] class.
Right, patko and I got tkdnd integrated into Pd-extended 0.43 on
Windows. I hope to do the same for GNU/Linux and Mac OS X. tkdnd 2.2
doesn't work on GNU/Linux, which is a big bummer, and on Mac OS X, it
only works on Tk/Cocoa, which is what comes with Mac OSX 10.6 and above.
.hc
¡El pueblo unido jamás será vencido!