phillco / talon-axkit

Talon macOS accessibility magic!
MIT License
47 stars 12 forks source link

Fix accessibility dictation on pages >1 in Microsoft Word. #69

Closed nriley closed 4 months ago

nriley commented 4 months ago

I have not tested this extensively; it at least doesn't break dictation in TextEdit, Shrugs, Outlook and Safari (the common apps in which I use accessibility dictation).

However this seems to just be using the attribute for its intended purpose (e.g., see https://developer.apple.com/documentation/appkit/nsaccessibility/attribute/1526642-sharedcharacterrange).

nriley commented 4 months ago

I realized that Word accessibility dictation worked on short documents and not long ones but never really had time to deal with it before (and the majority of documents I edit are short). From that I used your hiss-to-debug and a bit of guessing based on the attribute names, then searched Apple's documentation as above.