Problem with GUI Scripting
Problem with GUI Scripting
- Subject: Problem with GUI Scripting
- From: Helmut Fuchs <email@hidden>
- Date: Tue, 29 Nov 2005 15:12:06 +0100
Hello all,
I've written some AppleScripts to automate Adobe Photoshop CS. But
even though the "display dialogs" parameter is set to "never",
Photoshop brings up a dialog from time to time.
In order to automatically dismiss them, I wanted to use System
Events' process suite. But I simply cannot click buttons! All I can
do is send keystrokes - which works, but that doesn't allow me to
click activate the "don't show this again" checkbox.
I've tried something like this (different versions of the same action):
tell application "System Events"
tell application process "Adobe Photoshop CS"
set frontmost to true
delay 1
perform action "AXPress" of checkbox 1 of window 1
delay 1
click checkbox 1 of window 1
delay 1
click checkbox "Nicht mehr anzeigen" of window "Adobe Photoshop"
end tell
end tell
But nothing more happens than the checkbox being briefly animated
three times. Just as if it was clicked without releasing the mouse
button in its frame.
What is going on? Can somebody shed some light on this? Is it a
problem of localization? Or is it Photoshop specific?
Thanks in advance for any info!
Helmut
_______________________________________________
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