On Aug 22, 2009, at 10:24 AM, Joe Turner wrote:
That works well, until I add modifiers. To do my modifiers i put the
modifier keys down before the character part, but this doesn't seem
to work when the command key is down or something :/
Is there any way to supply modifiers into a single CGEvent?
There's an example somewhere in the docs. Basically, you send, for
example, a command-key down event, then the character key down event,
then the character key up event, then the command-key up event.
Tedious but straightforward.
--
Bill Cheeseman
b...@cheeseman.name
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com