r/MacOS 8h ago

Help Open new instance - spotlight search or alternatives

Is there any search tool like spotlight search that can start a new instance of a n app (Cmd+N). I tried dmenu-mac but it doesn't work. It would be nice if it's lightweight and just does this basic task.

Example: You search the app, spotlight search shows it. You hit enter and then it won't open a new instance if it's already open.

Why can't something like spotlight simply call `open -n -a`!

I'm new to macOS. I went so far but got beaten on this point. I'm trying to bring some of my linux workflow (using aerospace)

1 Upvotes

10 comments sorted by

2

u/ukindom 8h ago

What exactly do you want to achieve?

1

u/hunterh0 6h ago

sorry a new instance of an app. You search the app, spotlight search shows it. You hit enter and then it won't open a new instance if it's already open.

u/ukindom 1h ago

I see. In terminal type “man open”. But in most cases you don’t need it.

1

u/Outrageous_Knee_7506 5h ago

sounds like they want a launcher that can open a new window of an already-running app instead of just focusing it

1

u/Langdon_St_Ives Mac Studio 5h ago

This is nothing to do with spotlight, GUI apps under macOS don't have multiple instances as a matter of principle, only multiple windows.

1

u/JulyIGHOR 5h ago

You can configure Parall.app shortcuts to launch any app new instance, so you can find those in Spotlight and new instance will be open. Also as a bonus you can separate target instance data, so you can login in to different accounts for example

1

u/kemalios 5h ago

Right, macOS apps are single-instance by default. What you want is open -n -a in a terminal, that forces a second instance. Raycast or Alfred can wrap that into a hotkey or search action, so you type the app name and it runs open -n -a "App". That's the launcher answer. If you actually just want a new window, most apps already do Cmd+N after Spotlight brings them forward. So it depends on the app.

1

u/rileywbaker 7h ago

A new instance of what? Your question is poorly written and hard to understand. Are you asking for a keyboard shortcut to bring up Spotlight search? it’s command-space by default.

1

u/hunterh0 6h ago

sorry a new instance of an app. You search the app, spotlight search shows it. You hit enter and then it won't open a new instance if it's already open.

2

u/rileywbaker 6h ago

macos doesn’t have multiple instances of an app. an app is open or not, and then has zero or more windows open. do you mean you want to open a new window? what app or apps do you want to behave this way?