[PD] send message to current pd-window
Jonathan Wilkes
jancsika at yahoo.com
Tue Aug 27 17:44:26 CEST 2013
On 08/27/2013 07:00 AM, Ingo wrote:
> I'trying to use a mouse button to toggle between edit mode on off.
> I'm using [hid] to get the mouse button and I can send the message to a
> specified window name.
>
> But how can I send it to the current window that I am working in?
>
> What would I have to use instead of "windowname"?
>
> [s pd-"windowname"]
[s pd-filename.pd]
or
[s pd-subpatchname]
To automatically figure out which window has the focus, I think
there's a cyclone object that does that. Maybe [active] ?
>
> Thanks, Ingo
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
>
More information about the Pd-list
mailing list