Sublime Forum

How to focus Sublime Text *across the OS*

#1

With GhostText we’re connecting Chrome to Sublime Text, after the connection it would be ideal to switch focus to Sublime Text.

Is there a way to switch to Sublime Text programmatically? I tried this as suggested in another discussion but I don’t know why it doesn’t work:

window.focus_group(window.active_group())
0 Likes