mouseclick

steprec's icon

Hey,

I am trying to count mouse clicks, but it seems like Max doesn't register them when they occur outside the patcher.
Has anyone came across the same problem yet?

Thanks!

first post :)

Tj Shredder's icon

If you want to track keyboard or mouse events outside Max, use the hi object. This doesn't work in Windows though, as Windows hides mice and keyboards from hi... Search the archive, I recall there was some discussion about this and I think also someone made an Windows external to get around that...

Stefan

steprec's icon

Thans very much! It really got me going :)

seejayjames's icon

also you can search on here for mxj autobot, which is an mxj that will detect/create mouse and keyboard events, regardless of whether your patch is active or in the front.

very powerful stuff, be careful where you auto-click and what keys you generate... especially the control characters :/