I want to create a macro that when ctrl + opt + m is pressed
if google chrome is running, activates google chrome (i.e. opens the chrome window that is not at the front)
if there are multiple chrome windows open, pressing the shortcut again will bring the next window to the front (i.e if three chrome windows are open, pressing the shortcut will bring the latest window to front, pressing it again will bring the next window to the front, and so on).
I hope what I've just described is clear. Is there any way to do this?