Skip navigation.
 
mlRe: Emulating mouse clicks
FROM : David Niemeijer
DATE : Sun Oct 17 15:15:20 2004

At 5:26 PM +1000 17/10/04, Tim Lucas wrote:
>Hi,
>
>Last question for today... how can I emulate a mouse click event?
>
>I'm writing a background app where when you push F1 it emulates
>clicking the mouse (to reduce RSI).


Look at CGRemoteOperation.h, you will find everything you need there,
in particular CGPostMouseEvent.

david.

Related mailsAuthorDate
mlEmulating mouse clicks Tim Lucas Oct 17, 09:26
mlRe: Emulating mouse clicks Jiri Volejnik Oct 17, 11:40
mlRe: Emulating mouse clicks j o a r Oct 17, 15:01
mlRe: Emulating mouse clicks David Niemeijer Oct 17, 15:15