• 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
Re: click using option down button 2 of window 1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: click using option down button 2 of window 1


  • Subject: Re: click using option down button 2 of window 1
  • From: Nigel Garvey <email@hidden>
  • Date: Sun, 26 Oct 2014 13:09:03 +0000

In my message of Sun, 26 Oct 2014 12:58:23 +0000, I wrote:

>  tell application "System Events"
>    tell application process "Blah"
>      tell button 2 of window 1
>        if (action "AXZoomWIndow" exists) then
>          perform action "AXZoomWindow"
>        else
>          perform action "AXPress"
>        end if
>      end tell
>    end tell
>  end tell

Sorry. A crucial typo here. It should be a lower-case "i" In the first
mention of "AXZoomWindow":

  tell application "System Events"
    tell application process "Pages"
      tell button 2 of window 1
        if (action "AXZoomWindow" exists) then
          perform action "AXZoomWindow"
        else
          perform action "AXPress"
        end if
      end tell
    end tell
  end tell


NG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


References: 
 >Re: click using option down button 2 of window 1 (From: Nigel Garvey <email@hidden>)

  • Prev by Date: Re: click using option down button 2 of window 1
  • Next by Date: Re: click using option down button 2 of window 1
  • Previous by thread: Re: click using option down button 2 of window 1
  • Next by thread: Re: click using option down button 2 of window 1
  • Index(es):
    • Date
    • Thread