Autohotkey is awesome and special, and everybody on Windows should learn it. There is no such thing on any other OS.

v2 syntax and features are so much better. It was basically in development for a decade and AHK itself more then 20 years.

Autokey on Linux?

There is no such thing, at least in the mainstream. There are surogates, more or less capable, however nothing close to AHK

1. xdotool

2. sikuli

3. AHK_X11