Advanced Scene Switcher

Advanced Scene Switcher 1.32.3

shmurfer

New Member
Any suggestions for how to detect if notepad++ has focus? It insists on putting the entire filepath of the open file before the "Notepad++" in the title and no amount of regex suggestions from google like .*Notepad\+\+ seem to work.

I can put in the current full window title and that works if I have that specific tab open in notepad++ but that means I can't swap to any of the other 20 tabs in it. I can't figure out how to make it check for an executable name if possible.
 

shmurfer

New Member
I can reduce the window title to just "[filename] - Notepad++" but even that doesn't work with the regex so it's not a problem with a window title that is too long
 

shmurfer

New Member
I assume you've tried .*Notepad\+\+.* and .*Notepad.*? The second might catch some other things too, but if you don't have any of those, then it's fine.
I'm about to have an aneurysm I spent so long on something that should have been so simple last night. Now it's working and unless it was an actual bug that needed a reboot to fix I have to assume I kept adding a space at the start as it's the only thing that's making the behaviour from last night happen.


Both of your suggestions and mine are working now even with the huge full filepath names in Notepad++ after relaunching obs and notepad++. Thank you for your help, apparently the good vibes fixed it.

1764407444416.png
 
Top