alanhe421 / alfred-workflows

Save time, Improve life.🚀 ☕️ 💻
https://alfred.1991421.cn
MIT License
659 stars 63 forks source link

[Feat]: check if there is already a window for the requested profile open somewhere and if yes #383

Closed alanhe421 closed 1 year ago

alanhe421 commented 1 year ago

Describe the need

it be possible to make the script check if there is already a window for the requested profile open somewhere and if yes, bring that window to the front (and else open a new window)?

Describe the solution

maybe

file = open(home + "/Library/Application Support/Google/Chrome/Local State", "r")

Workflow Name

Open Chrome Profile


Workflow Homepage is 👉 Open Chrome Profile

alanhe421 commented 1 year ago

After research, it is believed that it is currently impossible to implement.