3 ms·
I didn't even know there was one. I thank you for that. Is there an API that I can hook into (I'm thinking emacs here). Maybe a Swift script calling this: https
by jonnycomputer 7y ago
I didn't even know there was one. I thank you for that. Is there an API that I can hook into (I'm thinking emacs here). Maybe a Swift script calling this: https://developer.apple.com/documentation/coreservices/1446842-dcscopytextdefinition https://developer.apple.com/documentation/coreservices/14468...
- rtpg 7y agohttps://josephg.com/blog/reverse-engineering-apple-dictionaries/ https://josephg.com/blog/reverse-engineering-apple-dictionar... seems like there's someone who outright reverse engineered the format as well. Normally I would recommend going for something via Applescript but it seems like Dictionary.app doesn't expose anything via Applescript (though it totally should)
- auxbuss 7y agoI presume there must be, since I use Scrivener and have a keyboard shortcut set-up for "Look Up in Dictionary and Thesaurus". Simply put the cursor within a word, type the shortcut, dictionary appears (then cmd+2 for thesaurus, if necessary).