Sequential saving of a large number of image files opened in Photoshop in JPG format with replacement of existing files.
Download the program (Download) and go to the macro editor
press the button «Open file»
and select the downloaded file
assign a macro to a key and run the program