|
|
#1 |
|
Guest
Posts: n/a
|
Need a Photoshop Script (hotfolder)
I'm looking for a script that will watch a hot folder, open any file that is placed into it, run a photoshop CS5 "action", save it, and delete the original. It then needs to wait for the next image.
I've been searching online and in these forums, but everything appears to be outdated and will not work with Lion/CS5. Any help would be greatly appreciated |
|
|
|
#2 |
|
League Commissioner
Join Date: Aug 2006
Posts: 5,071
|
I don't see why any AppleScript should be "outdated" for Lion and CS5.5.
First of all, Folder Actions will take care of running the script when any file gets dumped in the folder. That hasn't changed significantly since Leopard, I think. Short of changing the name of the application, I don't think Photoshop's AppleScript library has changed much. the command "do action <name>" will run a Photoshop action. I haven't tested this, but it's going to be along these lines: Code:
on adding folder items to this_folder after receiving list_of_files tell application "Photoshop CS5.5" do action <name of PS action> from <action set> end tell tell Finder delete list_of_files end tell end adding folder items to Could you show us a script that you've tried that doesn't work? Last edited by benwiggy; 04-02-2012 at 11:08 AM. |
|
|
|
|
|
#3 |
|
All Star
Join Date: Aug 2002
Posts: 561
|
Aren't compiled scripts ppc only, hence will not work on Lion?
|
|
|
|
|
|
#4 |
|
League Commissioner
Join Date: Aug 2006
Posts: 5,071
|
If you're downloading compiled PPC Applescripts from the net, then yes, they won't work. However, it would be more usual to find the text of script examples online, I would have thought.
|
|
|
|
|
|
#5 |
|
Major Leaguer
Join Date: Apr 2010
Posts: 339
|
This sounds like a job for Hazel, although you may have to write your own script.
__________________
see a problem; solve a problem. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|