Make object key working without being the main program MAX MSP

PereVicalet's icon

Hello maxers, I've solved in the past but I don't remember. I would like to stay in other programs, but want the Max running in second window. For example if I map the keyboard with key object and I make clic on a screen of jit.window, it doesn't work. Also, if I'm writing in a TExtedit... it doesn't work. Let's imagine I would like to count how many spaces are in a writting text with Key object in Max, however if I'm on Texedit, it don't report anything...

What do you recommend?

Best wishes

Source Audio's icon

To capture keystrokes system wide on mac you can use hi object.