i was wondering if there was any program akin to autohotkey for linux, i found one that does text replacement and it's fine but i really liked the stuff you could do with autohotkey, i had an entire popup menu of little tools on windows
Perhaps xdotool (assumming X11 and not wayland, there might be a fork? idk). Random self-reference trivia fact: I never used AHK, heard many great things about it and regretted a lot being on Linux by then. This was ~11 years ago. Then, some years later, at a gig I needed to type pre-formatted emails (like every 2 weeks, answering the same) and for that I used xdotool and assigned the commands as custom shortcuts under KDE :) it was one of my proudest moments towards Open Source Software.