I am on window 7 x64....and I tried the
- Code: Select all
webbrowser.open(................)
sublime.set_timeout(partial(ctypes.windll.user32.SetForegroundWindow,sublime.active_window().hwnd(), 0), 500)
And it's not working
But for
- Code: Select all
webbrowser.open(................)
sublime.set_timeout(partial(ctypes.windll.user32.SwitchToThisWindow,sublime.active_window().hwnd(), 0), 500)
After the webbrowser call, the sublime text editor become the foreground window...........but when I press up arrow or down arrow, I am still scrolling the browser output instead of move the caret on sublime text. How can this happen?