You could run the following with
no additional code, and no other scripts running.
Code: Select all
#Requires AutoHotkey v1.1.33
b::MsgBox 64, Test, Test!
1. Test in Notepad.
2. Test in your target program.
If #1 works and #2 fails, then the issue likely relates to how your target program is responding. Since Ansel is, I think, some kind of graphical overlay that does screenshots, it might be "overtaking" everything with screen and keyboard, potentially with low-level techniques along the way. You can test with UI Access in case that helps.
https://www.autohotkey.com/docs/v1/FAQ.htm#uac
Since Ansel uses its own hotkeys, there could be a basic software conflict. You can also try a different hotkey, such as
F3, that neither program seems to use.
From the look of it, Ansel is simply a screenshot program that lets you make some graphical adjustments. If needed, you can likely accomplish the same thing by making your display adjustments first, and then using any of the dozens of available screenshot programs, or AutoHotkey itself, to capture the screen.
Those are my only ideas. Others here may have more.