monitoring keystates when the patcher is in the background

icilian fenner's icon

Hey guys,

Do you know if there's anyway I can monitor key states when the patcher is not the focal program? You can do this for the mouse already with 'mousestate', is there an equivalent for keyboard?

Many thanks,

Hugh

Luke Hall's icon

Have a look at the [hi] object helpfile.

lh

icilian fenner's icon

Magic! Thanks very much!