• 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: UI Printing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: UI Printing
      • From: Luther Fuller <email@hidden>
References: 
 >Re: UI Printing (From: Stan Cleveland <email@hidden>)
 >Re: UI Printing (From: Vittorio <email@hidden>)
 >Re: UI Printing (From: Bill Cheeseman <email@hidden>)
 >Re: UI Printing (From: Thomas Fischer <email@hidden>)
 >Re: UI Printing (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: UI Printing
  • Next by Date: Re: UI Printing
  • Previous by thread: Re: UI Printing
  • Next by thread: Re: UI Printing
  • Index(es):
    • Date
    • Thread