[PD] Patching in fragments
Jonathan Wilkes
jancsika at yahoo.com
Fri Jan 8 19:31:30 CET 2010
Cool. When I use the keyboard shortcut "o", something seems different
about [osc~] but I can't quite put my finger on it (see attached) :)
Is there a way for the Tcl plugin to tell pd to use the key bindings only
in editmode, and only when there isn't an active cursor in an object or
message box? Also, can the Tcl plugin do things like dangle the object
from the mouse pointer (without using the mouse message hack) and remove
the object (without the cut message hack)?
The behavior I'm after is this:
1) click the shortcut key and the object fragment dangles from the
mouse(or it gets put on the canvas and is selected).
2) if the same key is pressed again, that object is removed and the next
object fragment associated with that key dangles from the mouse (or gets
put on the canvas, selected).
3) if a different shortcut key is pressed, the fragment gets put on the
canvas (unselected) and the new fragment dangles from the mouse.
I can get that behavior in my abstraction, but it messes with the
clipboard data, plus it's dangerous because if you have part of your
patch selected and you hit a shortcut key that part of the patch is lost
(and you can't undo it!).
-Jonathan
--- On Fri, 1/8/10, Hans-Christoph Steiner <hans at at.or.at> wrote:
> From: Hans-Christoph Steiner <hans at at.or.at>
> Subject: Re: [PD] Patching in fragments
> To: "Jonathan Wilkes" <jancsika at yahoo.com>
> Cc: "PD List" <pd-list at iem.at>
> Date: Friday, January 8, 2010, 6:48 AM
>
> Looks promising. Here is another approach as an 0.43
> Tcl plugin. I couldn't figure out how to do
> connections, but I didn't try very hard. Drop this
> file in the "pd/startup" folder of 0.43, or in the path.
>
>
>
>
> .hc
>
> On Jan 5, 2010, at 4:25 AM, Jonathan Wilkes wrote:
>
> > Here's a remix of a patch by Luke Iannini to get it to
> do something I've
> > been wanting to try: shortcut keys for scrolling
> through a list of
> > patch fragments.
> >
> > I'm just using the cut, paste, and mouse msg hacks so
> it works in
> > pd-vanilla. But it would be cool to see
> something like this as a more
> > general feature in pd.
> >
> > If you wanna play with it just open test.pd and read
> the comments.
> >
> > -Jonathan
> >
> >
> >
> <smartasdf.zip>_______________________________________________
> > Pd-list at iem.at
> mailing list
> > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
>
>
>
>
> ----------------------------------------------------------------------------
>
> "Free software means you control what your computer does.
> Non-free software means someone else controls that, and to
> some extent controls you." - Richard M. Stallman
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.PNG
Type: image/png
Size: 36630 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100108/860889dd/attachment.png>
More information about the Pd-list
mailing list