how hard would this be?
maybe purr data?
cheers
---------- Forwarded message ---------- From: Ticket 1273 1273@bugs.pure-data.p.re.sf.net Date: 2016-10-18 3:03 GMT-02:00 Subject: [PD-dev] [pure-data:bugs] #1273 feature request - paste from clipboard To: pd-dev@lists.iem.at
request - paste from clipboard*
*Status:* open *Group:* v0.47 *Created:* Tue Oct 18, 2016 05:03 AM UTC by Anonymous *Last Updated:* Tue Oct 18, 2016 05:03 AM UTC *Owner:* Miller Puckette
really hoping for a "copy compress" / "paste from clipboard" thing like in max thanks
Sent from sourceforge.net because pd-dev@lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
hi,
since IOhannes just mentioned "dropsuite"
has there ever been a sort of classic "drag and drop" feature for useage inside patches ?
like:
you drop a file onto a window (or even better: a specific spot) and get the filename as a symbol from an outlet or a receive object ?
that would make f.e. soundfile loading sooo much nicer and easier
i know about (and successfully use) dropsuites plugins but right now it's only two of them and (at least to my understanding) they can not do this.
best
oliver
Le 18/10/2016 à 16:14, oliver a écrit :
you drop a file onto a window (or even better: a specific spot) and get the filename as a symbol from an outlet or a receive object ?
Wouldn't it be better if the dragged filename can be dropped directly onto the object requiring a filename symbol?
There already is a dnd object in ix extensions but I think it's obsolete now.
I would also expect a dnd behavior from GUI objects like unauthorized/playlist
IOhannes m zmoelnig wrote:
On 2016-10-18 07:41, Alexandre Torres Porres wrote:
how hard would this be?
dropsuite.
that would be "text-onto-patch-plugin.tcl", right ?
i put that into PD's extra folder (just like i did with the working "drop-patch-plugin.tcl") and get the following error message in the pd console:
UNHANDLED ERROR: invalid command name "<!DOCTYPE" while executing "<!DOCTYPE html>" ("uplevel" body line 5) invoked from within "uplevel #0 $tclcode" FAILED TO LOAD D:/pd_0.47/extra/text-onto-patch-plugin.tcl
(WIN 7, PD 0.47.1)
thanks for any hint
best
oliver
2016-10-18 5:47 GMT-02:00 IOhannes m zmoelnig zmoelnig@iem.at:
On 2016-10-18 07:41, Alexandre Torres Porres wrote:
how hard would this be?
dropsuite.
that looks great, but the description is not giving me the idea that you can paste a text as a pd patch, so it does do it, right?
cheers
Pd-l2Ork supports universal clipboard but is somewhat limited by the Tcl/Tk idiosyncrasies, like having to start the application and then copying because the preexisting system clipboard is not actually recognized by the toolkit. It also supports pasting actual text from the patches into an existing patch which I suspect is the inverse of what you're speaking of. However, if you paste something incomplete it may result in a crash for which I have not figured it a workaround. As a perhaps pointless courtesy, if you do paste something that compromises Pd-L2Ork, it will give you one last message in the console before it crashes and burns and will let you know what is the reason for the pending crash.
Best,
or just writing a plugin would do the trick
Le 18/10/2016 à 07:41, Alexandre Torres Porres a écrit :
how hard would this be?
maybe purr data?
cheers
---------- Forwarded message ---------- From: *Ticket 1273* <1273@bugs.pure-data.p.re.sf.net mailto:1273@bugs.pure-data.p.re.sf.net> Date: 2016-10-18 3:03 GMT-02:00 Subject: [PD-dev] [pure-data:bugs] #1273 feature request - paste from clipboard To: pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at
*[bugs:#1273] https://sourceforge.net/p/pure-data/bugs/1273/ feature request - paste from clipboard*
*Status:* open *Group:* v0.47 *Created:* Tue Oct 18, 2016 05:03 AM UTC by Anonymous *Last Updated:* Tue Oct 18, 2016 05:03 AM UTC *Owner:* Miller Puckette
really hoping for a "copy compress" / "paste from clipboard" thing like in max thanks
Sent from sourceforge.net http://sourceforge.net because pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/bugs/ https://sourceforge.net/p/pure-data/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/bugs/options. https://sourceforge.net/p/pure-data/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Pd-dev mailing list Pd-dev@lists.iem.at mailto:Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev https://lists.puredata.info/listinfo/pd-dev
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
FYI: works in Pd-l2ork and Purr Data. Select some pd file text, and then paste in a patch window. (Purr Data gives confirmation prompt just to keep you from shooting yourself in the foot.)
From: patrice colet <colet.patrice@free.fr>
To: pd-list@lists.iem.at Sent: Tuesday, October 18, 2016 10:17 AM Subject: Re: [PD] Fwd: [PD-dev] [pure-data:bugs] #1273 feature request - paste from clipboard
or just writing a plugin would do the trick
Le 18/10/2016 à 07:41, Alexandre Torres Porres a écrit :
how hard would this be?
maybe purr data?
cheers
---------- Forwarded message ---------- From: *Ticket 1273* <1273@bugs.pure-data.p.re.sf.net mailto:1273@bugs.pure-data.p.re.sf.net> Date: 2016-10-18 3:03 GMT-02:00 Subject: [PD-dev] [pure-data:bugs] #1273 feature request - paste from clipboard To: pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at
*[bugs:#1273] https://sourceforge.net/p/pure-data/bugs/1273/ feature request - paste from clipboard*
*Status:* open *Group:* v0.47 *Created:* Tue Oct 18, 2016 05:03 AM UTC by Anonymous *Last Updated:* Tue Oct 18, 2016 05:03 AM UTC *Owner:* Miller Puckette
really hoping for a "copy compress" / "paste from clipboard" thing like in max thanks
Sent from sourceforge.net http://sourceforge.net because pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/bugs/ https://sourceforge.net/p/pure-data/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/bugs/options. https://sourceforge.net/p/pure-data/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Pd-dev mailing list Pd-dev@lists.iem.at mailto:Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev https://lists.puredata.info/listinfo/pd-dev
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
awesome :)
2016-10-18 13:22 GMT-02:00 Jonathan Wilkes via Pd-list <pd-list@lists.iem.at
:
FYI: works in Pd-l2ork and Purr Data. Select some pd file text, and then paste in a patch window. (Purr Data gives confirmation prompt just to keep you from shooting yourself in the foot.)
*From:* patrice colet colet.patrice@free.fr *To:* pd-list@lists.iem.at *Sent:* Tuesday, October 18, 2016 10:17 AM *Subject:* Re: [PD] Fwd: [PD-dev] [pure-data:bugs] #1273 feature request
- paste from clipboard
or just writing a plugin would do the trick
Le 18/10/2016 à 07:41, Alexandre Torres Porres a écrit :
how hard would this be?
maybe purr data?
cheers
---------- Forwarded message ---------- From: *Ticket 1273* <1273@bugs.pure-data.p.re.sf.net mailto:1273@bugs.pure-data.p.re.sf.net> Date: 2016-10-18 3:03 GMT-02:00 Subject: [PD-dev] [pure-data:bugs] #1273 feature request - paste from clipboard To: pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at
*[bugs:#1273] https://sourceforge.net/p/pure-data/bugs/1273/ feature request - paste from clipboard*
*Status:* open *Group:* v0.47 *Created:* Tue Oct 18, 2016 05:03 AM UTC by Anonymous *Last Updated:* Tue Oct 18, 2016 05:03 AM UTC *Owner:* Miller Puckette
really hoping for a "copy compress" / "paste from clipboard" thing like in max thanks
Sent from sourceforge.net http://sourceforge.net because pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/bugs/ https://sourceforge.net/p/pure-data/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/bugs/options. https://sourceforge.net/p/pure-data/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Pd-dev mailing list Pd-dev@lists.iem.at mailto:Pd-dev@lists.iem.at
https://lists.puredata.info/listinfo/pd-dev https://lists.puredata.info/listinfo/pd-dev
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/
listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/ listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/ listinfo/pd-list
how about selecting a patch and copying it into the clipboard as text?
this is really handy for sharing patch as texts on facebook and things like that
2016-10-18 13:38 GMT-02:00 Alexandre Torres Porres porres@gmail.com:
awesome :)
2016-10-18 13:22 GMT-02:00 Jonathan Wilkes via Pd-list < pd-list@lists.iem.at>:
FYI: works in Pd-l2ork and Purr Data. Select some pd file text, and then paste in a patch window. (Purr Data gives confirmation prompt just to keep you from shooting yourself in the foot.)
*From:* patrice colet colet.patrice@free.fr *To:* pd-list@lists.iem.at *Sent:* Tuesday, October 18, 2016 10:17 AM *Subject:* Re: [PD] Fwd: [PD-dev] [pure-data:bugs] #1273 feature request
- paste from clipboard
or just writing a plugin would do the trick
Le 18/10/2016 à 07:41, Alexandre Torres Porres a écrit :
how hard would this be?
maybe purr data?
cheers
---------- Forwarded message ---------- From: *Ticket 1273* <1273@bugs.pure-data.p.re.sf.net mailto:1273@bugs.pure-data.p.re.sf.net> Date: 2016-10-18 3:03 GMT-02:00 Subject: [PD-dev] [pure-data:bugs] #1273 feature request - paste from clipboard To: pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at
*[bugs:#1273] https://sourceforge.net/p/pure-data/bugs/1273/ feature request - paste from clipboard*
*Status:* open *Group:* v0.47 *Created:* Tue Oct 18, 2016 05:03 AM UTC by Anonymous *Last Updated:* Tue Oct 18, 2016 05:03 AM UTC *Owner:* Miller Puckette
really hoping for a "copy compress" / "paste from clipboard" thing like in max thanks
Sent from sourceforge.net http://sourceforge.net because pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/bugs/ https://sourceforge.net/p/pure-data/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/bugs/options. https://sourceforge.net/p/pure-data/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Pd-dev mailing list Pd-dev@lists.iem.at mailto:Pd-dev@lists.iem.at
https://lists.puredata.info/listinfo/pd-dev https://lists.puredata.info/listinfo/pd-dev
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
stinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/li stinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/li stinfo/pd-list
how about selecting a patch and copying it into the clipboard as text?
I don't think we have that feature.
this is really handy for sharing patch as texts on facebook and things like that
Can't you just select all of the pd file in a text editor? -Jonathan
2016-10-18 13:38 GMT-02:00 Alexandre Torres Porres porres@gmail.com:
awesome :) 2016-10-18 13:22 GMT-02:00 Jonathan Wilkes via Pd-list pd-list@lists.iem.at:
FYI: works in Pd-l2ork and Purr Data. Select some pd file text, and then paste in a patch window. (Purr Data gives confirmation prompt just to keep you from shooting yourself in the foot.)
From: patrice colet <colet.patrice@free.fr>
To: pd-list@lists.iem.at Sent: Tuesday, October 18, 2016 10:17 AM Subject: Re: [PD] Fwd: [PD-dev] [pure-data:bugs] #1273 feature request - paste from clipboard
or just writing a plugin would do the trick
Le 18/10/2016 à 07:41, Alexandre Torres Porres a écrit :
how hard would this be?
maybe purr data?
cheers
---------- Forwarded message ---------- From: *Ticket 1273* <1273@bugs.pure-data.p.re.sf.n et <mailto:1273@bugs.pure-data.p. re.sf.net>> Date: 2016-10-18 3:03 GMT-02:00 Subject: [PD-dev] [pure-data:bugs] #1273 feature request - paste from clipboard To: pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at
*[bugs:#1273] <https://sourceforge.net/p/pur e-data/bugs/1273/> feature request - paste from clipboard*
*Status:* open *Group:* v0.47 *Created:* Tue Oct 18, 2016 05:03 AM UTC by Anonymous *Last Updated:* Tue Oct 18, 2016 05:03 AM UTC *Owner:* Miller Puckette
really hoping for a "copy compress" / "paste from clipboard" thing like in max thanks
Sent from sourceforge.net http://sourceforge.net because pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at is subscribed to https://sourceforge.net/p/pure -data/bugs/ <https://sourceforge.net/p/pur e-data/bugs/>
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure -data/admin/bugs/options. <https://sourceforge.net/p/pur e-data/admin/bugs/options.> Or, if this is a mailing list, you can unsubscribe from the mailing list.
Pd-dev mailing list Pd-dev@lists.iem.at mailto:Pd-dev@lists.iem.at https://lists.puredata.info/li stinfo/pd-dev <https://lists.puredata.info/l istinfo/pd-dev>
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/li stinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/li stinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/li stinfo/pd-list
i like this idea a lot. Among other things it would let us copy-paste patches between different instances of Pd. I had imagined having Pd's own copy/paste "type" but actually just using text and having Pd "consider" it as a patch fragment for copy/paste operations is brilliant.
M
On Tue, Oct 18, 2016 at 05:28:14PM +0000, Jonathan Wilkes via Pd-list wrote:
how about selecting a patch and copying it into the clipboard as text?
I don't think we have that feature.
this is really handy for sharing patch as texts on facebook and things like that
Can't you just select all of the pd file in a text editor? -Jonathan
2016-10-18 13:38 GMT-02:00 Alexandre Torres Porres porres@gmail.com:
awesome :) 2016-10-18 13:22 GMT-02:00 Jonathan Wilkes via Pd-list pd-list@lists.iem.at:
FYI: works in Pd-l2ork and Purr Data. Select some pd file text, and then paste in a patch window. (Purr Data gives confirmation prompt just to keep you from shooting yourself in the foot.)
From: patrice colet <colet.patrice@free.fr>
To: pd-list@lists.iem.at Sent: Tuesday, October 18, 2016 10:17 AM Subject: Re: [PD] Fwd: [PD-dev] [pure-data:bugs] #1273 feature request - paste from clipboard
or just writing a plugin would do the trick
Le 18/10/2016 à 07:41, Alexandre Torres Porres a écrit :
how hard would this be?
maybe purr data?
cheers
---------- Forwarded message ---------- From: *Ticket 1273* <1273@bugs.pure-data.p.re.sf.n et <mailto:1273@bugs.pure-data.p. re.sf.net>> Date: 2016-10-18 3:03 GMT-02:00 Subject: [PD-dev] [pure-data:bugs] #1273 feature request - paste from clipboard To: pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at
*[bugs:#1273] <https://sourceforge.net/p/pur e-data/bugs/1273/> feature request - paste from clipboard*
*Status:* open *Group:* v0.47 *Created:* Tue Oct 18, 2016 05:03 AM UTC by Anonymous *Last Updated:* Tue Oct 18, 2016 05:03 AM UTC *Owner:* Miller Puckette
really hoping for a "copy compress" / "paste from clipboard" thing like in max thanks
Sent from sourceforge.net http://sourceforge.net because pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at is subscribed to https://sourceforge.net/p/pure -data/bugs/ <https://sourceforge.net/p/pur e-data/bugs/>
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure -data/admin/bugs/options. <https://sourceforge.net/p/pur e-data/admin/bugs/options.> Or, if this is a mailing list, you can unsubscribe from the mailing list.
Pd-dev mailing list Pd-dev@lists.iem.at mailto:Pd-dev@lists.iem.at https://lists.puredata.info/li stinfo/pd-dev <https://lists.puredata.info/l istinfo/pd-dev>
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/li stinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/li stinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/li stinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
2016-10-18 15:50 GMT-02:00 Miller Puckette msp@ucsd.edu:
i like this idea a lot. Among other things it would let us copy-paste patches between different instances of Pd.
wow, I hadn't thought of that, that is actually brilliant and I face this problem quite often by the way.
Like, copying something from extended to vanilla, but also from different instances of vanilla. Now with Purr Data we could make it so that copying parts of patches between them quite easily.
It would require just two new edit options, "copy to clipboard" and "paste from clipboard", maybe also accessible via a secondary click
cheers
Oh, so you want to be able to copy an arbitrary selection in a patch to the clipboard. I believe that's doable. -Jonathan
From: Alexandre Torres Porres <porres@gmail.com>
To: Miller Puckette msp@ucsd.edu Cc: Jonathan Wilkes jancsika@yahoo.com; "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Tuesday, October 18, 2016 3:56 PM Subject: Re: [PD] Fwd: [PD-dev] [pure-data:bugs] #1273 feature request - paste from clipboard
2016-10-18 15:50 GMT-02:00 Miller Puckette msp@ucsd.edu:
i like this idea a lot. Among other things it would let us copy-paste patches between different instances of Pd.
wow, I hadn't thought of that, that is actually brilliant and I face this problem quite often by the way. Like, copying something from extended to vanilla, but also from different instances of vanilla. Now with Purr Data we could make it so that copying parts of patches between them quite easily. It would require just two new edit options, "copy to clipboard" and "paste from clipboard", maybe also accessible via a secondary click cheers
2016-10-18 18:46 GMT-02:00 Jonathan Wilkes jancsika@yahoo.com:
Oh, so you want to be able to copy an arbitrary selection in a patch to the clipboard.
I believe that's doable.
yep, it could be the whole patch as well if you had done "select all" before
That feature in max is actually called "copy compress", in the edit mode, it copies a selection to the clipboard. See attachment
It's a terrible name by the way, it'd make much more sense call it "copy to clipboard"
You may notice it doesn't have an option in the edit mode to paste the selection copied clipboard, that happens if you go to file and select "new from clipboard".
Thus, it only creates a new file. Unlike the feature you have in Purr Data, which is much better and more powerful. I like a lot, as it allows to copy to a newly opened file or to a patch already opened and with more stuff in it.
But I guess a "new from clipboard" could also be a 2nd option, also convenient, when you want to open a patch from a clipboard instead of a file.
So yeah, "copy/paste to/from clipboard" in the edit section and maybe also "new from clipboard" in the file section
by the way, this would make life quite easier for us in the Pd-list, by copying code into the email and not worry about attachments. This is also true for forums out there.
About Purr Data, it's cool that you automatically know that it is some code from the clipboard and you can paste it like anything else. I guess you can leave it like that, and also add the other options.
The difference in using "paste from clipboard" is that it wouldn't give you any warning (maybe add a shortcut too?).
cheers
2016-10-18 19:13 GMT-02:00 Alexandre Torres Porres porres@gmail.com:
2016-10-18 18:46 GMT-02:00 Jonathan Wilkes jancsika@yahoo.com:
Oh, so you want to be able to copy an arbitrary selection in a patch to the clipboard.
I believe that's doable.
yep, it could be the whole patch as well if you had done "select all" before
That feature in max is actually called "copy compress", in the edit mode, it copies a selection to the clipboard. See attachment
2016-10-18 15:28 GMT-02:00 Jonathan Wilkes jancsika@yahoo.com:
Can't you just select all of the pd file in a text editor?
sure we can, but it'd be more convenient ;)