On 28/02/08 8:27 PM, "Ryan Homer" <[EMAIL PROTECTED]> wrote:
> I've read this post
> (http://lists.apple.com/archives/accessibility-dev/2006/Aug/msg7.html
> ) about using the accessibility options to read the text under the
> cursor. However, this requires that the user enable access for
> ass
On Feb 29, 2008, at 03:27, Ryan Homer wrote:
I've read this post (http://lists.apple.com/archives/accessibility-
dev/2006/Aug/msg7.html) about using the accessibility options
to read the text under the cursor. However, this requires that the
user enable access for assistive devices in S
Just so you know, the Accessibility API has AXMakeProcessTrusted(),
which will enable access to the API for just your application. It
requires that it be called from a process running as root, so the user
needs to enter his/her password, but otherwise it is fully automatic.
I blogged about
Steve,
While I agree that the user should decide whether or not to allow the
application to access another's text, to me, that's exactly what they
are doing if they decide to use the application. It is going to be a
dictionary-type application, so if the user installs it, s/he would be
fu
Well, if you are referring to the Services sub-menu that is
automatically part of Cocoa applications' menus with the same name as
the application (Eg: Mail -> Services, Safari -> Services, etc.), it
seems to me that those services are only executed when invoked by the
user. However, I want
On Feb 29, 2008, at 02:33, Ryan Homer wrote:
Let me clarify that it doesn't seem to be the Dictionary application
that's reading the word at the mouse pointer but rather the OS
itself or some daemon, perhaps, when Ctrl-Option-D is pressed. It
might be the process called DictionaryPanel tha
I don't have specific knowledge but, yes, I would expect that the
dictionary support is a trusted part of the OS, thus can be hooked
into every application.
As far as I know, if you want to touch another application's UI, you
have to go through accessibility. From the OS's point of view you
Let me clarify that it doesn't seem to be the Dictionary application
that's reading the word at the mouse pointer but rather the OS itself
or some daemon, perhaps, when Ctrl-Option-D is pressed. It might be
the process called DictionaryPanel that seems to always be running.
Anyway, if anyo
I've read this post (http://lists.apple.com/archives/accessibility-dev/2006/Aug/msg7.html
) about using the accessibility options to read the text under the
cursor. However, this requires that the user enable access for
assistive devices in System Preferences. The application must
theref