Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Add PDFs to the Image Conversion Folder Action Scripts Apps
Simply edit two lines in the "Image - Duplicate as PNG.scpt" (located in /Library -> Scripts -> Folder Action Scripts) to be able to convert screen captures and Illustrator 10 (PDF compatible) files to PNGs. Change from:

property type_list : {"TIFF", "JPEG", "GIFf", "PICT"}
To:

property type_list : {"TIFF", "JPEG", "GIFf", "PICT", "PDF "}
And from:

property extension_list : {"tif", "tiff", "jpg", "jpeg", "gif", "pict", "pct"}
To:

property extension_list : {"tif", "tiff", "jpg", "jpeg", "gif", "pict", "pct", "pdf"}
I don't imagine this works very well for multipage PDFs ;) but for the above mentioned uses it works fine. This could be why it wasn't added to the original scripts. I haven't tried yet, but this will most likely work with the other image conversion Folder Action scripts. Note that the files created by Illustrator respect the page size, so if you get cropping or excess white space, check your page size settings.

Hope that you find it useful.
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[9,656 views]  

Add PDFs to the Image Conversion Folder Action Scripts | 2 comments | Create New Account
Click here to return to the 'Add PDFs to the Image Conversion Folder Action Scripts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Add PDFs to the Image Conversion Folder Action Scripts
Authored by: syko on Dec 02, '03 01:29:22PM

i did this a while back to auto-convert my screenshots and it works fine



[ Reply to This | # ]
Add PDFs to the Image Conversion Folder Action Scripts
Authored by: kennyfett on Apr 08, '04 08:58:08PM

Shouldn't this hint be in reference to the already-existing 'convert to JPEG' script?

I did still have to add the "PDF" element to the script, though...

Just not sure why he mentioned the 'png' script if this was for a JPEG conversion....;)

---
"If you kill him, he won't learn nothin'" -Jim Carrey as the Riddler



[ Reply to This | # ]