Re: How to imitiate mouse move programmatically? [NSApp postEvent:atStart:] does not work...
Re: How to imitiate mouse move programmatically? [NSApp postEvent:atStart:] does not work...
- Subject: Re: How to imitiate mouse move programmatically? [NSApp postEvent:atStart:] does not work...
- From: Dave Keck <email@hidden>
- Date: Tue, 3 Nov 2009 02:33:09 -1000
Untested suggestion: when a real mouse moved event occurs, NSLog it
and duplicate its arguments exactly. Perhaps the '0' arguments are why
it's not working.
If that doesn't do the trick, you'll probably have to drop to a lower
level, such as CGEventPost().
... but Graham's right - there's probably a better way :)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden