Jump to content

using Alfred to open specific safari profiles in MacOS Sonoma


Recommended Posts

Hello, 

 

Now that MacOS Sonoma is released to the public, I'm wondering if there's a way to open specific safari profiles in MacOS Sonoma using Alfred? Right now I have two safari profiles, one for personal and one for work. If I have both profiles open at the same time and I minimize both windows, then I type "safari" after triggering Alfred, it'll just open the one that I last minimized. Is there a way to specify which safari profile I want to open and expand that window?

 

Not sure if this makes sense, but please provide any information that might be helpful, thank you!

Link to comment
  • 4 weeks later...

maybe you could create a workflow which uses key combos to change the profile in the meantime...

 

Something like a List Filter as trigger (which has to be populated manually since Safari offering an api) to select the profile.

Then you could use a keyboard combo to open a new window in the given profile.  With ⌘ + ⌥ + ⇧ + <number> where 0 is your personal profile and 1 to x are the other profiles you can open a new window in a specific profile.

 

Maybe looking at something like the OpenIn app (haven't tested it myself) might help too.

Link to comment
  • 4 months later...
  • 3 months later...
On 11/1/2023 at 2:50 PM, smagdali said:

That worked!

 

I'd like to refine it to switch to the open tab instead of always opening a new window but it's a start. 

 

It's here if others want to take a look

 

https://www.dropbox.com/scl/fi/7i690pedbnqyqvvhs9e6i/Open-Safari-window-in-specific-Profile.alfredworkflow?rlkey=9gdoh1wrrkvoogs4zpck882yr&dl=0

 

 

it's nice and I tried it, if you find a clue to open tab instead of windows. 
still your workflow is important, I use it as start and then adding tacos by cmd+N

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...