Why is my .ank file not launching as a program

My .ank file is not launching as a program, rather it is launching as a text file. How do i launch it as a program?

This is an ahk file, something for a scripting utility named AutoHotkey. Can’t the see Anki aspect here.

Also requires “AutoHotKey” as mentioned in the file as well, could’ve have read it.