João, [active]'s just what I was looking for, thanks! Roman - yeah maybe one day I'll take control of the window management to that level but right now I'm mostly satisfied mousing around : ) Mathieu - hm, I was just using the right bang outlet of [tot] ... not familiar enough to implement what you're suggesting : )
Thanks very much all Luke On Sat, Feb 21, 2009 at 10:37 AM, Mathieu Bouchard <[email protected]> wrote: > On Sat, 21 Feb 2009, Luke Iannini wrote: > >> Yo - anyone have any ideas on getting the focus state of a window in Pd? I >> want to only enable key commands when the relevant window is focused - I >> have lots of miniature applications and it makes much more sense to treat >> them independently - I think the global nature of keystroke handling is what >> keeps me from every really using it! >> (And, I know [tot] can tell me when a window is focused, but not when >> it's unfocused, meaning I'd need a [tot] in every single window. no >> good) > > use bind on <FocusOut> instead of <FocusIn>. > > _ _ __ ___ _____ ________ _____________ _____________________ ... > | Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
