You just need to set up an action for Photoshop to repeat. First open the Actions palette. Open an example of the image you want to edit, then click the Record button. Make your edits and click the Stop button when complete. The next step depends on your version of Photoshop, but you'll need the Automate menu in File.