I would like to write an Applescript that tells Photoshop which folder it should batch process all raw files (in the background) and convert them into jpeg files. The script also needs to tell Photoshop CS where to put the files. When Photoshop is done another script should be triggered.