I don’t understand why you were not able to create a new action for that!? Just start new action (start recording) do the task once then stop the action and then open the other files and just play the action!..
you could also use the batch command using that same action (recorded as per Dark Tranq) and apply it to a whole folder of images. I tend to create a ‘From’ and ‘To’ folder rather than Saving the files to the same folder. This means if you need to tweak the batch command you aren’t dealing with a messy source folder with lots of half baked images you don’t want.