Re: Regarding Unknown elements in AS GUI
Re: Regarding Unknown elements in AS GUI
- Subject: Re: Regarding Unknown elements in AS GUI
- From: John Baltutis <email@hidden>
- Date: Thu, 25 Dec 2003 00:32:08 -0800
On 12/24/03, julifos <email@hidden> wrote:
>
>
> I wonder if anyone can help me? I have tried to script Preview to fax
>
> pdfs with help of AppleScript GUI without any luck.
<snip>
>
You are forgetting targeting the window which owns the sheet "Print". This
>
works for me:
>
>
#########################
>
tell application "System Events"
>
tell process "Preview"
>
set frontmost to true
>
click button "Fax..." of UI element 3 of sheet 1 of window 1
>
end tell
>
end tell
>
#########################
>
Neat
>
* Note also that the three-dots of "Fax..." are not 1-2-3 dots, but a single
>
character (in my keyboard, "option + .")
If you meant the ellipsis, that's "OPTION + ;" on the US keyboard.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.