Re: click using option down button 2 of window 1
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