FWIW pd-l2ork already has create object from an abstraction (used in K12 mode with buttons in the menu linking to various abstractions). As soon as you create an object, provided it is not autopatched, it follows mouse as soon as the pointer enters the canvas area. This could be easily repurposed to create code chunks like the one you proposed...

On 12/20/2012 09:14 AM, Hans-Christoph Steiner wrote:
pdsend allows you to send any Pd message that you can send with [send] or [; foo( so you 
could think of it in terms of "how would I do that in Pd?"

.hc

On Dec 19, 2012, at 11:56 PM, Jonathan Wilkes wrote:

Yeah but as you mention the connection is tricky so "Put" menu type messages
to pdsend won't cut it.  I can't think of a way without making a temporary patch
and poisoning the clipboard, so I guess I have to do it in c. :(

-Jonathan



----- Original Message -----
From: Hans-Christoph Steiner <[email protected]>
To: Jonathan Wilkes <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Wednesday, December 19, 2012 10:33 PM
Subject: Re: [PD] gui-plugin to creat objects


Hmm, probably, but it might be tricky to make the connection.  Look at the menu
items for the Put menu.  Basically you can use the pdsend proc to send messages
like dynamic patching.

.hc

On Dec 19, 2012, at 10:17 PM, Jonathan Wilkes wrote:

[bang(
|
[print hello_world]

Is there a way to generate the object chain above in a gui-plugin and have
it hanging from the mouse cursor?
-Jonathan


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


--
Ivica Ico Bukvic, D.M.A
Composition, Music Technology
Director, DISIS Interactive Sound & Intermedia Studio
Director, L2Ork Linux Laptop Orchestra
Head, ICAT IMPACT Studio
Virginia Tech
Department of Music
Blacksburg, VA 24061-0240
(540) 231-6139
(540) 231-5034 (fax)
disis.music.vt.edu
l2ork.music.vt.edu
ico.bukvic.net


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to