RE: Problem with GUI Scripting
RE: Problem with GUI Scripting
- Subject: RE: Problem with GUI Scripting
- From: Helmut Fuchs <email@hidden>
- Date: Wed, 30 Nov 2005 13:31:54 +0100
Thanks to all for your input!
I always thought that GUI scripting would actually have been invented
to include "legacy" and apps generally unfit for scripting.
Using the accessibility API for that purpose surely has its merits
but seems very limited at the same time. Too bad there seems to be no
built-in way to really just send a mouse down event at a specific
screen location instead of trying to perform the "AXPress" action...
Full keyboard access does not work with the Photoshop dialogs in
question. Perhaps it's relying in the same mechanisms as GUI
scripting.
"System Events" allows me to retrieve the positions of buttons (in
most cases at least), so I think it really should be easy to send a
plain mouse down event on its way. Is there a (simple ;-) way to do
that without resorting to third-party apps?
Helmut
P.S. Accessing Photoshop's preferences file is a problem in itself -
it's a binary format which is not easily "diff"ed as it's full of
cross references which change on every save. So figuring out where to
change a specific setting is beyond me.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden