Pages: [1]   Go Down

Author Topic: Photoshop actions for batch save  (Read 4623 times)

E_Edwards

  • Full Member
  • ***
  • Offline Offline
  • Posts: 245
Photoshop actions for batch save
« on: October 09, 2007, 06:21:38 pm »

I use various Photoshop actions to batch-save my master files ready to deliver to clients as flatenned CMYKs.

The actions typically involve flattening the layers, resizing, converting to CMYK, final sharpening for repro, stripping any Alpha chanels or Paths and so on.

This is where I run into trouble sometimes.

If the action includes, say, "remove Path 1." and one of the files in the batch happens not to have any Paths anyway, the Photoshop action will stop and give you an error, because it's trying to delete something (the Path) that is not there.

I can't see an option such as "if this condition is True...do this...else...do that" which is normal in any programing language.

The only way round I've found is the option for Photoshop to write the errors as a log file, in which case it will continue the batch action till the end, and leave the files affected open for you to deal with them individually.

This if fine if it only affects a couple of files, but what about a situation where you have, say 300 files to process, and 20 per cent give error.

There may be an easy solution to this, rather than segregating files into different folders depending on content.  Anyone knows?

I also have Quickeys, maybe convining a Quickeys script and Photoshop actions?

Edward
Logged

digitaldog

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 20649
  • Andrew Rodney
    • http://www.digitaldog.net/
Photoshop actions for batch save
« Reply #1 on: October 09, 2007, 06:47:07 pm »

Photoshop actions don't support conditionals.
Logged
http://www.digitaldog.net/
Author "Color Management for Photographers".

luong

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 259
    • http://www.terragalleria.com
Photoshop actions for batch save
« Reply #2 on: October 09, 2007, 07:48:24 pm »

You need to write a script. Here is a tutorial for a start: http://www.kirupa.com/motiongraphics/ps_scripting.htm
Logged
QT Luong - author of http://TreasuredLandsBook.com, winner of 6 national book awards

E_Edwards

  • Full Member
  • ***
  • Offline Offline
  • Posts: 245
Photoshop actions for batch save
« Reply #3 on: October 09, 2007, 08:04:32 pm »

Quote
You need to write a script. Here is a tutorial for a start: http://www.kirupa.com/motiongraphics/ps_scripting.htm
[a href=\"index.php?act=findpost&pid=144954\"][{POST_SNAPBACK}][/a]

Thank you, this is very useful, it's exactly what I needed to know to go beyond Photoshop's basic Actions, and I am used to basic scripting, so I'll enjoy following this up.

Edward
Logged

Graham Mitchell

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2281
Photoshop actions for batch save
« Reply #4 on: October 09, 2007, 08:26:09 pm »

This sounds interesting. I have also been missing conditional actions.
Logged

Eric Myrvaagnes

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 22814
  • http://myrvaagnes.com
    • http://myrvaagnes.com
Photoshop actions for batch save
« Reply #5 on: October 10, 2007, 01:04:05 am »

Quote
This sounds interesting. I have also been missing conditional actions.
[a href=\"index.php?act=findpost&pid=144967\"][{POST_SNAPBACK}][/a]
Me too!
Logged
-Eric Myrvaagnes (visit my website: http://myrvaagnes.com)
Pages: [1]   Go Up