Go Back   The macosxhints Forums > OS X Help Requests > AppleScript



Reply
 
Thread Tools Rate Thread Display Modes
Old 09-19-2010, 04:22 AM   #1
nzguy
Prospect
 
Join Date: Sep 2010
Posts: 2
change jpg to pdf in automator

im a newbie how do i do this? i have a 50 odd folder each with 30 or so jpg's and i want to convert them all to pdfs. i have found in automator how to change image types but not into pdfs.
nzguy is offline   Reply With Quote
Old 09-19-2010, 08:23 AM   #2
renaultssoftware
MVP
 
Join Date: Dec 2009
Location: Pembroke, Ontario
Posts: 2,051
If you have GraphicConverter, you can explore its AppleScript dictionary. I don't have it; it might be worthwhile to try it out.
__________________
Get Icon Creator and support me.
renaultssoftware is offline   Reply With Quote
Old 09-19-2010, 08:45 AM   #3
benwiggy
League Commissioner
 
Join Date: Aug 2006
Location: London
Posts: 5,753
/System/Library/Printers/Libraries/convert

is the command line utility for this. Essentially, it prints to a PDF.
benwiggy is offline   Reply With Quote
Old 09-19-2010, 10:21 AM   #4
regulus6633
Major Leaguer
 
Join Date: Apr 2005
Posts: 478
Benwiggy is right. Here's a link showing how to use it here.
__________________
Hank
http://www.hamsoftengineering.com
regulus6633 is offline   Reply With Quote
Old 09-19-2010, 10:58 AM   #5
tw
Hall of Famer
 
Join Date: Apr 2007
Posts: 4,262
Automator has a built-in action called 'Change type of images' that does precisely what you're asking.
__________________
Philosophy is a battle against the bewitchment of our intelligence by means of language. -LW-
tw is offline   Reply With Quote
Old 09-19-2010, 09:25 PM   #6
robinwmills
Major Leaguer
 
Join Date: Sep 2007
Location: San Jose, CA, USA.
Posts: 290
I wrote a cocoa tutorial "ix" (icon extractor). The purpose of ix is to create a single PDF with the images from one or more icons. However it's equally happy with any graphic input including jpg.

http://clanmills.com/articles/cocoatutorials/

The documentation is: http://clanmills.com/articles/cocoatutorials/ix.pdf and the code's available at http://clanmills.com/articles/cocoatutorials/ix.zip

As an example (from the terminal in directory of jpgs)
$ ix myPDF.pdf *.jpg
__________________
Robin
http://clanmills.com
24" iMac, 17" Powerbook, Vaio Ubuntu/W7 Laptop.
robinwmills is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 11:37 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.