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

Re: PDFs


  • Subject: Re: PDFs
  • From: Emmanuel <email@hidden>
  • Date: Fri, 7 Nov 2003 08:07:46 +0100

At 9:30 AM -0700 06/11/03, Todd Geist wrote:
>From lurking on the list, I get the impression that there are a bunch of new image manipulation features available on OSX. Does anybody know if it possible to create PDFs from the clipboard contents with Applescript?

If your clipboard does contain PDF data (a string starting with "%PDF" IIRC), that will be four lines of script with the Smile editor.

--------------------------
set w to make new graphic window
set front pdf of w to thePDFData
close front pdf of w
draw w
--------------------------

If your clipboard contains something else then you've got to create the PDF record: do it with Smile. Smile is free and includes a PDF generation AppleScript library.

Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >PDFs (From: Todd Geist <email@hidden>)

  • Prev by Date: Re: Script Editor - Feature Request
  • Next by Date: Re: Escape Apostrophes in 'Do Shell Script'
  • Previous by thread: PDFs
  • Next by thread: Re: Turning Expose on and off
  • Index(es):
    • Date
    • Thread