AXUIElementPostKeyboardEvent and Carbon Apps
AXUIElementPostKeyboardEvent and Carbon Apps
- Subject: AXUIElementPostKeyboardEvent and Carbon Apps
- From: Dupas Jean-Daniel <email@hidden>
- Date: Mon, 18 Oct 2004 20:44:08 +0200 (CEST)
Hello,
I searcj into archives and found nothing about my
problem.
I'm trying tu use AXUIElementPostKeyboardEvent to send
shortcut event to others apps.
With Cocoa Apps (TextEdit, Mail, ...) i'have no
problem, but for Carbon apps (Finder, iTunes) i have a
probleme in special case.
First, i send my events directly to the app (no system
wide). When i send my event batch (command key down, n
key down, N key up, command key up) if the key N is
down on the keyboard nothing append, but if the N key
is up the event proceed normally (whatever the app is
foreground or background).
In my test, i just try to send an event while pressing
the N key, and sending an other event with the N key
up.
The first vanish, and the second was corrctly sended
to Finder.
I try to do the same manipulation but using
CGPostKeyboardEvent and the event is always proceed.
Is there a known difference between this two function?
The documentation doesn't specified it.
Vous manquez despace pour stocker vos mails ?
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden