PDA

View Full Version : Droplet question


nessus
07-09-2008, 05:33 PM
I recently discover this little feature in Photoshop (i currently am using cs2) which suits our image processing pipeline perfectly.

Basically the whole pipeline is meant to be fully automated, therefore everything is run in a command line. the source images are created in psd format, i simply record an action to do what i need to do in PS (flatten, conversion, etc), and "package" it with a droplet in an executable (.exe) file. So the rest is to call this executable in a command line with input psd files.

Now everything works perfectly, PS lunches, does the batch, etc. Except the only thing left is that when the batch finishes PS still stays opened. In windows, i could use something like "tskill" to kill the process, but i would prefer a more graceful way to do it, perhaps do it within PS?

Am i only able to do this through PS scripting?

Thanks

pgraham
07-09-2008, 09:45 PM
In the Actions palette menu, you can choose "Insert Menu Item" and then pick File>Exit while the Insert Menu Item box is up. Not sure how it performs in a droplet, though it should work exactly the same as running it straight from the action.

nessus
07-11-2008, 09:50 PM
If I "record" the exit menu in an action, this would close photoshop right after it finishes the first file and exit.

pgraham
07-14-2008, 09:52 PM
perhaps your can create a second droplet containing only the quit action, and call it on the command line after your first droplet finishes.

CGTalk Moderation
07-14-2008, 09:52 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.