TaranVH / 2nd-keyboard

ALL of Taran's scripts - not just for the 2nd keyboard.
https://www.youtube.com/watch?v=O6ERELse_QY
1.65k stars 538 forks source link

Add SmartSwitchToApp script #150

Open Samuel1698 opened 2 years ago

Samuel1698 commented 2 years ago

This script is capable of detecting which monitor this macro was activated, and only launch/switch to a chrome(or any) window within that monitor. Multi-monitor users are prone to suffer from frustration as their macro keys switch to a window in the incorrect monitor if they have a few instances open, this solves that issue. The code is thoroughly commented for easy adaptability to other applications or use-cases.