Autohotkey script only works when I have this window open (please see screenshot). If I minimise it, it does not work. I have the H visible in the tray. Any help would be appreciated, thanks.
My script to use with Windows Pen is simply:
#F20::Run OneNote ; Single click, Open OneNote