• 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: TIFF to PDF - easiest way?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TIFF to PDF - easiest way?


  • Subject: Re: TIFF to PDF - easiest way?
  • From: ilsa <email@hidden>
  • Date: Mon, 27 Jun 2011 11:43:40 -0700

Hi:

Success! This works in Smile:

set my_source to "Macintosh HD:Users:ILC:Desktop:DV-110606a:2011-06-06
12-17-07_IMAGE000_102.tiff"
set my_dest to "Macintosh HD:Users:ILC:Desktop:DV-110606a:2011-06-06
12-17-07_IMAGE000_102.pdf"

tell application "Smile"
	set theinfo to (image info for file my_source)
	set thewidth to the width of theinfo
	set theheight to the height of theinfo
	set w to make new graphic window with properties {pagewidth:thewidth,
pageheight:theheight}
	beginfigure(w)
	drawimage(my_source, {0, 0}, "")
	endfigure()
	save w in file my_dest
	close every graphic window

end tell

Fast, too. Thanks, Emmanuel!

ilsa
 _______________________________________________
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

  • Prev by Date: Re: TIFF to PDF - easiest way?
  • Next by Date: Re: List View Options
  • Previous by thread: Re: TIFF to PDF - easiest way?
  • Next by thread: Change File's Icon With Script
  • Index(es):
    • Date
    • Thread