


But again the auto hockey website lays everything out very well and has all of its triggers very well explained. I know the loop way will work the other one I'm not sure if even exists. There may be a function in autohotkey that will wait for a new window to pop up, and then you can get the title of that window rather than pulling from a loop but I'm not 100% sure on that one. And basically what I did is while the main sublime window was active I did a check every probably one or two seconds to see if a window with that pop ups title was active and would use a click command to automatically click the x or cancel or whatever it was. But basically you can set sections of AHK code to only run when a certain window is active, you can do that by title or EXE or both. It's been awhile, So I don't remember the specifics so you'll have to do some research on auto hotkey to implement this but AHK is super simple and easy to pick up - you should probably be able to do this in 10 to 15 minutes with no prior knowledge. unregistered version what does a program (application) like this have to do. I got rid of that pop up using auto hotkey in Windows. Sublime Text is a sophisticated text editor for code, markup and prose. There is actually a windows solution, though maybe not quite as elegant. decode()Ĭl( "wmctrl -i -c %s" % sublimeSecondWindowId) SublimePid = int( cl( """wmctrl -lp | grep "%s" | awk ''""" % sublimeSecondWindowId). SublimeMainWindowTitle = " - Sublime Text (UNREGISTERED)"Ĭlass LicenseWindowKiller( sublime_plugin.

Popen( line, shell = True, stdout = subprocess.
