Re: UI Printing
Re: UI Printing
- Subject: Re: UI Printing
- From: "Mark J. Reed" <email@hidden>
- Date: Fri, 5 Mar 2010 08:52:51 -0500
What's different about the dialogs presented by the print command vs
GUI scripting?
On Friday, March 5, 2010, Luther Fuller <email@hidden> wrote:
> On Mar 5, 2010, at 7:34 AM, Thomas Fischer wrote:
> And I somehow lost the context: Is there a particular reason not to use Mail's print command like
> tell application "Mail" to print Window 1
> or something similar before
> click button 1 of sheet 1 of window 1
> Yes!
> What I'm trying to do is open a Mail document file (.emlx), then print it as PDF.There are two ways to do this:1 - Use Mail's 'print' command, then 'Save as PDF...' via a UI script; or2 - Use a UI script to invoke menu 'Print...', followed by 'Save as PDF...'.
> One would expect the same result from both ... but noooooo!
> The two methods present different Print dialogs and the resulting pdf documents are different.PDF documents created by method 1 have a smaller scale than the original, while method 2 creates documents with the same scale as the original.
>
--
Mark J. Reed <email@hidden>
_______________________________________________
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