Warmuptill
Active Member
I just double checked and you are indeed correct.I actually tried that (even with ".*Notebook.*", and also simply with ".*OneNote.*"), but I am completely unable to trigger a scene change with OneNote in full screen more. Not even when focus, maximized, and fullscreen checkboxes are all off.
I have to use Automatic Scene Switcher to trigger OneNote, even thou I would like to trigger on fullscreen mode only.
For what's worth, I tried to use the window name reported by Window Spy from AutoHotkey, with the same lack of success.
The window handle of OneNote is not enumerated by GetNextWindow() at all.
GetForegroundWindow() does return the window handle as expected, which I used to check the window title yesterday.
It looks like FindWindowEx() must be used instead if metro app handles shall also be returned.
I now adjusted the window handling of the plugin to this new method.
You can find a test build here:
Please let me know if it works as expected.