4 ms·
For anyone else trying to determine how to switch between Chrome profiles on macOS, I found a superuser post [0] In short you can run: open -a "Google Chro
by yoyojojofosho 5y ago
For anyone else trying to determine how to switch between Chrome profiles on macOS, I found a superuser post [0]
In short you can run:
open -a "Google Chrome" --args --profile-directory=$NAME
where $NAME for your current Chrome profile can be found by looking at Profile Path in chrome://version. The last directory in Profile Path is $NAME. The default $NAME is "Default" and another profile could be "Profile 5".
[0] https://superuser.com/questions/377186/how-do-i-start-chrome-using-a-specified-user-profile https://superuser.com/questions/377186/how-do-i-start-chrome...
- beaugunderson 5y agoyup this is very similar to what I ended up with: -- open Chrome Canary with a specific named Profile function canaryWithProfile(profile, url) local t = hs.task.new("/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary", nil, function() return false end, { "--profile-directory=" .. profile, url }) t:start() end -- open Chrome with a specific named Profile function chromeWithProfile(profile, url) local t = hs.task.new("/Applications/Google Chrome.app/Contents/MacOS/Google Chrome", nil, function() return false end, { "--profile-directory=" .. profile, url }) t:start() end