This repo contains small things I've made and reuse.
An Applescript that:
- Selects your default browser
- Auto-clicks OK
- If your browser supports multiple profiles/spaces/containers, switches to the one you want
Run it by osascript set-browser.scpt Safari
I recommend you use the VS Code Applescript Extension, which has a lot of nice features and will save you from having to remember the switches to osascript
- Only supports Spaces in Arc so far
- Firefox containers coming
- No particular plans to do Chrome
- Safari doesn't currently offer an Applescript or shell API for its spaces