pbb Posted August 5, 2022 Share Posted August 5, 2022 I have two chrome instances with different profile opened, and I want to switch between them via workflow. The word switch means to make only one instance (or window) visible, while another not. And I don't want to quit Chrome entirely and launch a new instance when I want to switch, it'll be just too slow. Currently if one press cmd+H on either instance, both instances will be hidden. And commands like open -a 'Google Chrome' --args --profile-directory=Default will do nothing if there are at least one chrome instance is visible, and even worse, it'll not bring the focus to the Default profile in any case. I have found that hiding chrome will only hide those instances which is not in fullscreen, so if I set one of the instance into fullscreen, it may helps. So the question is: Is this possible with Alfred workflow? Link to comment
vitor Posted August 5, 2022 Share Posted August 5, 2022 17 hours ago, pbb said: Currently if one press cmd+H on either instance, both instances will be hidden. Are you sure you have two instances? Do you see two icons in the Dock? Doing it with --args --user-data-dir="/SOME/PATH/HERE" works to have two icons, and ⌘H works independently. That’s the method in IncognitoClone. Link to comment
pbb Posted August 6, 2022 Author Share Posted August 6, 2022 (edited) 15 hours ago, vitor said: Are you sure you have two instances? Do you see two icons in the Dock? Doing it with --args --user-data-dir="/SOME/PATH/HERE" works to have two icons, and ⌘H works independently. That’s the method in IncognitoClone. Ah, by two instances, I mean there are two windows, sorry for not being clear. It seems to work as you said, to hide just one instance. But the problem is I still can't bring one specific instance to the front other than just open a new one. Edited August 6, 2022 by pbb Link to comment
vitor Posted August 6, 2022 Share Posted August 6, 2022 macOS doesn’t have the concept of hiding a window. You can close a window, or minimise a window, or hide the app. Creating a new instance is the one way to do what you want, and that necessitates the two icons. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now