macOS Speak Selection - copy command vs. accessibility API
macOS Speak Selection - copy command vs. accessibility API
- Subject: macOS Speak Selection - copy command vs. accessibility API
- From: Charlie Powell <email@hidden>
- Date: Fri, 21 Jul 2017 19:20:08 +0000
- Msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Ref=https://api.informationprotection.azure.com/api/72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=email@hidden; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2017-07-21T12:20:07.3143639-07:00; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic; Sensitivity=General
- Thread-topic: macOS Speak Selection - copy command vs. accessibility API
We've been seeing some interesting things related to speak selection recently
that we can't explain, so hoping someone might be able to help us out.
In at least one app, when the user invokes the command to speak selection we
actually see a copy command sent to the application (you can even see the Edit
item in the menu bar at the top flash as the command is triggered) that
presumably the system uses to figure out what content is selected. However, in
many other applications this doesn't seem to happen, and instead calls to
things like accessibilitySelectedTextRange: happen. The scenario works in both
cases, but has some different implications for our apps that we'd like to
better understand.
Is there something that governs how the system determines when to use the copy
command vs. the NSAccessibility APIs? As always, would be great if things like
this were clearly stated somewhere in the documentation :)
_______________________________________________
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