How to switch to a window based on what screen it's on?

I'm trying to program hotkeys to switch between applications for my Stream Deck. The problem is that I often have multiple Chrome windows open on a different screen. If I hotkey to a different application on the main window, and then attempt to hotkey back to Chrome, it instead focuses on the Chrome window open on the other screen. How would I program a hotkey to only switch to windows on a particular screen?