This repository contains Apple macOS automation scripts designed to work with Service Station or Automator.
These scripts help you manage files, videos, and system tasks quickly and efficiently directly from Finder.
Each script is described below with its functionality, usage, and requirements.
Note: All scripts are AppleScript (
.scptor.applescript) files.
Extract audio tracks from video files using ffmpeg.
- Analyzes selected video files for audio codec compatibility
- Instant copy for compatible codecs (AAC, MP3, AC3, DTS, Opus)
- Re-encodes to AAC 320kbps for other codecs
- Shows estimated processing time based on your CPU (Apple Silicon / Intel)
- Outputs
.m4afiles in the same folder
mp4 · mov · mkv · avi · webm · m4v · mpg · mpeg · flv · wmv · ts · m2ts · 3gp · ogv · vob
- Bash
- Install ffmpeg via Homebrew:
brew install ffmpeg
Batch rename files or folders with sequential numbering or a custom suffix.
- Select between files or folders for renaming
- Two renaming modes:
- Full rename: Replace names with base name + sequential number
- Partial rename: Append custom suffix to existing names
- Preserves file extensions automatically
- Shows completion notification with renamed items count
| Mode | Example |
|---|---|
| Full rename | photo.jpg → image_1.jpg, image_2.jpg, … |
| Partial rename | photo.jpg → photo_backup.jpg |
Rename multiple files with sequential numbering and optional leading zeros.
- Renames selected files or lets you choose files via dialog
- Adds sequential numbers with optional leading zeros (
01, 02…or001, 002…) - Supports custom base name or numbers-only mode
- Preserves original file extensions
- Auto-calculates digit padding based on file count
| Files | Base name | Leading zeros | Result |
|---|---|---|---|
| 5 | photo | Yes | photo1.jpg … photo5.jpg |
| 100 | img_ | Yes | img_001.jpg … img_100.jpg |
| 12 | (empty) | Yes | 01.jpg … 12.jpg |
| 8 | file | No | file1.jpg … file8.jpg |
👻 Hidden Files
Show or hide hidden system files in Finder with one click.
- Toggles visibility of hidden files (dotfiles, system files)
- Automatically restarts Finder to apply changes
- Simple TRUE/FALSE button interface
Quickly create a new .txt file in the current Finder window.
- Creates a blank text file in the active Finder folder
- Prompts for filename (extension added automatically)
- Opens in native TextEdit-compatible format