Automator

Let your Mac do repetitive tasks for you

If you need to make the same changes to multiple files — such as changing filenames or resizing images — or archive or back up important files, you can create a custom workflow and have your Mac do the work for you.

Script your own actions

If the task you need to automate isn’t in the list of built-in actions, you can add your own scripts, such as AppleScript and JavaScript scripts, and shell commands to your workflow. Simply add the appropriate run script action to your workflow and enter your script code or shell commands.