Re: TIFF to PDF - easiest way?
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