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?