Safari Switch Profile [with optional Move Tab] PUBLIC Macro (v11.0.2)

Hi, I made this macro to navigate Safari profiles, and has really helped me get more out of them. It has eight hotkey triggers, to support four Safari profiles.

⌘1-4 Switch to that Safari Profile, opens a new window/tab as needed
⌘^1-4 Switch to that Profile, and bring the current URL with me.

The macro gives me easier hotkeys to switch to a different Safari profile, ⌘1, ⌘2, ⌘3, ⌘4, but also allows me to move the current tab to that profile if I also hold down the control key. (In reality, it just opens the same url after the switch) And if you're already in that profile, it beeps, which happens more than I thought. Hope this helps.

⌘1 switch to first profile (opens a new profile window as needed)
⌘^1 switch to first profile, bring current tab with you (actually copy, switch, new tab, paste)
...and then ⌘2, ⌘^2, etc.

Safari Switch Profile [with optional Move Tab] PUBLIC Macro (v11.0.2)

Switch Profile [with optional Move Tab] PUBLIC.kmmacros (30 KB)

1 Like

That was quite inspiring for me. Thank you!

I made my own variant using a bunch of macros in a Safari group (which are all based on your single macro):

  • Select profile (subroutine)
  • 2 macros to select my Personal/Work profile (⌘1/⌘2, using subroutine above)
  • Move tab to profile (subroutine, uses the above subroutine as well)
  • 2 macro to move a tab to my Personal/Work profile (⌥⌘1/⌥⌘2 using subroutine above)

PS: ⌃⌘1/⌃⌘2 seem to be already taken in Safari? (That's why I chose ⌥ instead of ⌃; hope that's free...)

View menu

Oops; even ⌘1 etc. could be taken!

(I disabled them in Safari only just before taking this screenshot...)

1 Like

Riiight. I should turn that off. Nice catch.