Forum Discussion
vskorpen_
Oct 31, 2019Copper Contributor
How to create separate shortcuts for different profiles on mac?
I would like to have separate Edge Dev shortcuts on my dock for each of my profiles. Anyone know if this is possible to do with a parameter like --profile for instance? --profile-directory="Profile ...
Traveler700
Dec 11, 2021Copper Contributor
So I found a workaround for my situation. Although this workaround doesn't allow for CLI launching, it suffices for my needs. In the Mac app store there's an app called "OpenIn". It's a pretty robust app for customizing how macOS launches browsers, mail clients, and file extensions. It supports Chromium browser profiles, and it DOES work with Edge! So I configured OpenIn for my default and work profiles, and now I can launch whatever Edge browser instance I want. This doesn't give me a shortcut in the mac Dock, but I use a streamdeck and I assigned a button to a work site, and OpenIn automatically launches that site using my work Edge profile. Pretty slick.
zelele
Aug 09, 2022MCT
I've found a new solution.
The first instance use:
open -a "Microsoft Edge" --args --profile-directory=Profile\ 1
To the second one use:
open -a "Microsoft Edge" -n --args --profile-directory=Profile\ 2
The -n
-n Open a new instance of the application(s) even if one is already running