The Problem
The “How do you want to open this file” prompt keeps popping up even though you specified the program to open your AHK files.
The Cause
You’re probably using AutoHotkey v2.
The Solution
- Install AutoHotkey v1.
- Copy and overwriting everything from the AutoHotkey v2 zip into %ProgramFiles%\AutoHotkey.