Switcheroo uses AppleScript (yay!) to cycle through Safari windows, find the tab URL related to the Profile in Switcheroo settings, and opens the tab in that window. Could a less hacky process be created to identify a user's current Safari Profiles, identify the profile window they've chosen, etc?
Things to consider:
- If they have multiple windows open using a single Profile
- If they have multiple tab groups, I'd say use the default group of the Profile (if there were a way to place a new tab within a Tab Group that'd be nice though)
Switcheroo uses AppleScript (yay!) to cycle through Safari windows, find the tab URL related to the Profile in Switcheroo settings, and opens the tab in that window. Could a less hacky process be created to identify a user's current Safari Profiles, identify the profile window they've chosen, etc?
Things to consider: