gcollazo / BrowserRefresh-Sublime

This plugin will switch from ST2 and ST3 to Google Chrome, Google Chrome Canary, Safari, Firefox or Opera and reload the active tab
http://gcollazo.github.com/BrowserRefresh-Sublime
565 stars 62 forks source link

finding Chrome on Windows : now works all Chrome's Language Settings. #45

Closed leafbird closed 10 years ago

leafbird commented 10 years ago

I'm sorry for my mistake. My Chrome's Language Setting is Korean, and It makes diffrent with English. Chrome process's title string - the key of finding Chrome window - is changed by which language is using. So I changed my modification again and now it works both English and Korean setting.

    def chrome(self):
        try:
            self.SendKeysToAllWindows('.*- (Google )?Chrome')
        except WindowNotFoundError:
            pass