ahk file runs and deletes itself

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
promytius
Posts: 1
Joined: 12 Jun 2021, 10:16

ahk file runs and deletes itself

12 Jun 2021, 10:32

I have a simple program to remap three keys:

Code: Select all

#NoEnv
#Warn  
SendMode Input
#HotkeyInterval 99999
#MaxHotkeysPerInterval 99999
;Movement
Numpad8::w
Numpad4::a
Numpad6::d
[Mod edit: [code][/code] tags added.]

I moved it to the desktop (PC i7 32GB RAM) W10pro, ran it, ran the Skyrim Script Extender/Skyrim, and there was a problem with the Num8. I quit, and the file was gone from the desktop!
Is there something wrong with the file that would cause that?
NOTE:
I also run a mod that remaps the keyboard inside Skyrim, but it's a static file that overrides the default keymap.
Skyrim hardcoded Num4, 6, and 8 [what a mysterious decision], but that static file can remap all other keys but those three with no problems.
So to access the num pad keys, I looked at other examples of keymapping with AHK, and put this one together, so I have no idea if it is error free.

Thanks,
from a noobie...Promytius
necomerx
Posts: 57
Joined: 01 Jan 2021, 09:09

Re: ahk file runs and deletes itself

12 Jun 2021, 12:28

Hi buddy,
It was probably eaten by your antivirus that put it into quarantine. Check you antivirus to restore it and put an exception.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: BielGuitarJP, CrowexBR, mebelantikjaya and 304 guests