Re: convert text data to PDF
Re: convert text data to PDF
- Subject: Re: convert text data to PDF
- From: Shane Stanley <email@hidden>
- Date: Thu, 17 Sep 2015 09:49:07 +1000
On 17 Sep 2015, at 3:12 AM, Yvan KOENIG <email@hidden> wrote:
I ran these instructions: tell application "Notes" activate set noteBody to body of second note end tell set the clipboard to noteBody clipboard info
and got : {{Unicode text, 300}, {string, 150}, {scrap styles, 22}, {«class utf8», 150}, {«class ut16», 302}, {scrap styles, 22}}
When the clipboard contain PDF datas, writing them in a PDF file is easy. Alas I found no way to convert the text into PDF datas.
All you have there is simple AppleScript text. You can put that into a PDF, but I suspect that what the OP wants is something that looks like what he sees in Notes -- and that's not what you're going to get. Any styling information has been thrown out.
|
_______________________________________________
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