Re: UI Printing
Re: UI Printing
- Subject: Re: UI Printing
- From: Luther Fuller <email@hidden>
- Date: Fri, 05 Mar 2010 10:38:37 -0600
I'm having more problems with UI scripting. This does not work ...
tell process "Mail" keystroke "p" using {command down} -- delay 5 -- click menu item "Save as PDF…" of menu button "PDF" of sheet 1 of window 1 -- elipsis end tell
But, if I replace the last line with ...
click button "Cancel" of sheet 1 of window 1 -- this works
it does work.
Both of the 'click' lines were constructed following some examples found on the web and with the help of Accessibility Inspector.
Does anyone know why I'm having a problem?
|
_______________________________________________
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