Requires Autohotkey_L to run
Autohotkey_L installed should be exactly Unicode x32 version(you get to choose and on Win x64 it defaults to x64 version, i think that may mean calling 64-bit dllcalls which would screw this script up).
Go google that, install that, get the unicode x32 version, run the script with that program, open poe, enjoy autoflask!