Help me with Folder Action scripts in Mac OS X.
March 31, 2004 5:23 AM Subscribe
A question about using Folder Action scripts in Mac OS X and tinkering with them to get them to do what you want. [more]
posted by emelenjr to Computers & Internet (7 answers total)
I created a folder called Make PNG and attached the "Duplicate as PNG" Folder Action script to it. It wasn't doing anything with PDFs (screen captures) I dropped on it, so I edited the script to accept PDF files too.
Here's the problem:
PDF screen capture is 44K. PNG generated automatically by the script is 100K. If I instead use Preview to export the PDF to PNG (best depth, non-interlaced) the size is 56K. There's no visible difference between the different PNG files, but I want the script to give me the smaller file size since I'm converting things to PNG in order to optimize them for the web. How can I edit the script to do that?