• 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: Dmitry Markman <email@hidden>
  • Date: Mon, 27 Jun 2011 08:45:25 -0400

yes
it's working

set tiff_file to POSIX file "/path/to/tiff/file/my_file.tiff" as alias
tell application "Finder"
set file_name to name of tiff_file
end tell
tell application "Preview"
open tiff_file
activate
tell application "System Events"
tell process "Preview"
click menu item "Print…" of menu 1 of menu bar item "File" of menu bar 1
click menu button "PDF" of sheet 1 of window file_name
click menu item 2 of menu 1 of menu button "PDF" of sheet 1 of window file_name
click button "Save" of window "Save"
end tell
end tell
end tell

On Jun 27, 2011, at 8:07 AM, Dmitry Markman wrote:

I'd guess Preview + System Events can do that without any third party additions


On Jun 26, 2011, at 11:13 PM, ilsa wrote:

Hi:

I'm looking for a free and easy way to save a TIFF ( TIF ) file to the PDF format with a new name. Image Events doesn't do it, Automator doesn't let me control the location and filename, I didn't see it in Smile, and ImageMagick seems to require a huge complicated terminal installation. I'm thinking more of a simple shell command or binary where I can do something like "tif2pdf /folders/infile.tif /differentfolders/newnames.pdf" or similar. Hopefully it's already in OS X somewhere, but it would be OK to have an osaxen, binary or an app to install. It seems weird to me that this doesn't already exist, as I read that PDF is the Mac's display technology.

Thanks,

ilsa

Dmitry Markman


 _______________________________________________
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: TIFF to PDF - easiest way?
      • From: KOENIG Yvan <email@hidden>
References: 
 >TIFF to PDF - easiest way? (From: ilsa <email@hidden>)
 >Re: TIFF to PDF - easiest way? (From: Dmitry Markman <email@hidden>)

  • Prev by Date: Re: TIFF to PDF - easiest way?
  • Next by Date: Re: TIFF to PDF - easiest way?
  • Previous by thread: Re: TIFF to PDF - easiest way?
  • Next by thread: Re: TIFF to PDF - easiest way?
  • Index(es):
    • Date
    • Thread