I was wondering if it is possible in pd to handle ui events? I have several patches loaded that all can be partially controlled by the keyboard, however some keys have duplicate assignments in those different patches. What i'd like to do is find out which patch has "focus" and only allow the keyboard on that specific patch. For that i would need something like a "GotFocus" event for patches. I'm on the windows 0.38.4 extended release.
I know i could build the interaction between the different patches another way, but then every time i create a new patch all the others would need to be changed.
Thanx a lot,
D.