Re: TextEdit print to PDF and Mail
Re: TextEdit print to PDF and Mail
- Subject: Re: TextEdit print to PDF and Mail
- From: Jeremy Sellors <email@hidden>
- Date: Thu, 7 Jun 2007 17:55:48 -0700
Oh, I see that is not the right direction to go;
From the dictionary:
Class print settings:
Properties:
copies integer -- the number of copies of a document to be printed
collating boolean -- Should printed copies be collated?
starting page integer -- the first page of the document to be printed
ending page integer -- the last page of the document to be printed
pages across integer -- number of logical pages laid across a
physical page
pages down integer -- number of logical pages laid out down a
physical page
error handling constant -- how errors are handled
fax number string -- for fax number
target printer string -- for target printer
So please ignore my post. I will have to use another tact.
On Jun 7, 2007, at 4:59 PM, Jeremy Sellors wrote:
Hi,
I want to save a TextEdit file as a PDF and Email it using Mail.app.
the print dialog in TextEdit creates a PDF using the PDF Services
drop down menu in the Print dialog using thePDF Service "Mail PDF"
that I have already set up. It shows up in the PDF drop down menu
of the print dialog.
The properties shown do not compile but are shown
--
tell application "TextEdit"
print front document print dialog no with properties
{PrintasPDFMenu:"Mail PDF"}
end tell
--
How do I get the properties of the print dialog?
Any help would be appreciated,
Thanks,
Jeremy Sellors
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40skyplex.net
Archives: http://lists.apple.com/archives/applescript-users
This email sent to 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