• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem with GUI Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Problem with GUI Scripting
      • From: Bill Cheeseman <email@hidden>
    • Re: Problem with GUI Scripting
      • From: Shane Stanley <email@hidden>
    • Re: Problem with GUI Scripting
      • From: "John C. Welch" <email@hidden>
References: 
 >Re: Check For Open Application (From: Ted <email@hidden>)
 >Re: Check For Open Application (From: kai <email@hidden>)

  • Prev by Date: Re: Listing labelled folders: choose folder vs. Manual alias
  • Next by Date: RE: Weeding out items from list
  • Previous by thread: Re: Check For Open Application
  • Next by thread: Re: Problem with GUI Scripting
  • Index(es):
    • Date
    • Thread