I use autohotkey to put different password combinations into different apps or devices I access. I also have an RSA token for additional authentication. Using an .ahk file is not very safe security wise, if anyone ever got access into my desktop that would have my password. So, I have found away around this. First I execute the .ahk file which allows it to run in the taskbar. After it is running then I use 7zip to compress it with encryption and a password and DELETE the original text readable file. So, now the file can not be accessed unless it is unzipped, and if you try to edit the file in the taskbar it can't be read since the original is gone, but the hotkeys still work. The issue is that every time I reboot the machine I have to do this. I am not being lazy, I want to know what a true solution is.
Is it possible to encypt/decrypt the .ahk file on the fly so that it is only able to be read by the hotkey and not by a human?
This is the closest I could find to a solution, but I don't understand the steps to actually implement it.