Hi, I've been using AutoHotkeys along with the easierForNoobs HotkeyMaster, and things were going swimmingly, then some scripts I made work stopped. I've just tried to emulate the "Activate Notepad if new one exists, otherwise Run Notepad" with Notepad++
#n:: ;(one) new untitled notepad
IfWinExist new - Notepad
This works, no probs. With Notepad++ however, the new tabs are numbered. I'd like to perform a comparison that says, "if notepad++ is open with a tab containing new, activate. Otherwise run notepad++"
I think a "contains" for the "new" tab name of the notepad++ app would work, or even better "begins with", but RegEx is beyond me.
I'm not sure if it's this simple. Depends if the window inspection looks at all tabs open in the app, or if it depends on the current tab.
I tried this
#^n:: ;(one) new untitled notepad++
IfWinExist new - Notepad++
but I can't make it activate the new tab, and if any tabs are open in fact, a new one can't be created.