How can I invoke the Finder's interactive "Rename…" command?
02:50 18 Apr 2026

The Finder has a "Rename…" (formerly "Rename X items…") command that offers interactive pattern match & replace:

enter image description here

I like to invoke this operation from my own program.

Is that possible, perhaps via AppleScript or NSWorkspace or some other function?

macos finder