Re: Emulating mouse clicks
Re: Emulating mouse clicks
- Subject: Re: Emulating mouse clicks
- From: j o a r <email@hidden>
- Date: Sun, 17 Oct 2004 15:01:24 +0200
On 2004-10-17, at 11.40, Jiri Volejnik wrote:
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).
What about NSControl's -performClick: or NSEvent's
-mouseEventWithType: location: modifierFlags: timestamp ....?
No, that only works within the application. You would use something
like this (CGRemoteOperation.h):
<
http://developer.apple.com/documentation/GraphicsImaging/Reference/
Quartz_Services_Ref/qsref_main/function_group_10.html>
j o a r
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden