Need help writing a script that batch proccesses images in a folder with different PS actions based on their name by referring to a CSV file.
The short story...
I need help writing a script that when ran will check a certain folder for new images then apply different actions to them in Photoshop based on their filename. i was thinking that using a CSV file (that we would create in excel) to refer to would be the best way to do this but I'm only a beginner at JavaScript and really have no clue how id refer to the csv file in JavaScript language. if someone could point me in the right direction that would be appreciated (I have looked all over and cant seem to find anything specific to my problem).
The reason for this all is?
I work for a canvas art/ portrait photography shop and we need to process many images a day using custom actions that move, resize and crop the image to fit print file dimensions. this currently needs someone to sit and set each action off to each image (The action names are also part of our Image codes in filename, this is how we would refer to them in the CSV file and this is how the worker currently knows which action to set off on which file)
Sometimes there are exceptions to this and an image needs to have two actions set off at once (one to resize the other to change Hue). This adds complication to referring to CSV file as each image has multiple codes in its file name (one is product code for example and isn't used in this process) and so they aren't just named the same as the action that is ran off on them which would make the process easier and probably wouldn't require the CSV file.
As I've said any help on the issue would be appreciated.
Jack.
