Image processor is probably easiest, though it doesn't work in all instances. You can find it at File> Scripts >Image Processor. IP will allow you the option of opening the first image to make adjustments, then applying those same adjustments to all subsequent files. Although it's possible to run IP by selecting multiple files, I find it easiest to place all applicable files in a new folder, then select that folder.

Image Processor will also allow you to save the images as JPEG, PSD, or TIFF, and place the edit results in a new folder nested within the selected folder. Even if you choose to save to the same destination, IP will automatically append the filename to avoid overwriting the source file. Resizing is no problem.

As far as the frame itself, Select all/ Select> Modify> Border (or Contract: Select Inverse) would keep the correct aspect ratio, but "crop" the frame into the image, while Edit> Canvas Size (check the "relative" box) would place the frame outside the image.

If for some reason you can't get Image Processor to do the trick, you'll either have to find another script, or write one. Photoshop actions will not save images or modify filenames.

- Joe U.