sublime-goto-window
sublime-goto-window copied to clipboard
Catalina 10.15.7, dual screen, only works on main screen
Hi,
I'm using 1.0.7 and it seems that the GotoWindow function does not work correctly with multiple screens.
When using it on my main screen it works fine, but if the window is on the secondary screen, it does not focus correctly.
I have figured out that it focuses the correct window in sublime, but the trick via applescript always focuses Sublime Text on the main screen.
Ok, it seems this is caused by the option "Displays have separate spaces"
I guess the apple scripts / python would need todo something like:
Python: space_to_go = window_to_go_to.getSpace()
AppleScript: activate space space_to_go ... usual switch to dock / switch to sublime
https://macscripter.net/viewtopic.php?id=23453