$ 0 0 File -> Automation -> Batch processing.Select your action there and also if to process the open files or an entire folder.