AutoHotKey Equivalent for Mac

Discuss other programming languages besides AutoHotkey

AutoHotKey Equivalent for Mac

08 Aug 2017, 17:32

Hey all,
I am trying to create a quizbowl-esque game on the Discord chat service and am using AutoHotKey to quickly trigger the buzzer system. The game will be for a school project. I am using the following code:

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

I want to be able to play this game on mac as well as windows, so was curious whether any of you know of an equivalent program for mac. It would be amazing to have it work on I-phone and Android too, but I assume that would be far too hard to figure out. Thanks so much for any advice.
User avatar
Posts: 1140
Joined: 20 Jul 2014, 10:16
GitHub: Masonjar13
Location: Не Россия

Re: AutoHotKey Equivalent for Mac

12 Aug 2017, 09:19

You could try running AHK in WINE. It doesn't have full support, but based on what you have, it should probably work. That would double for Linux. For mobile, you'd have to translate to Java, or JavaScript if you use a framework for it (I don't think JavaScript can simulate keystrokes/input content to external sources). You'd have to be a little more creative though, seeing as smartphones don't have keyboards (an overlay menu, perhaps).

Besides WINE, you might try AppleScript, or if it doesn't have that kind of functionality, I'm sure Swift would. Probably.

Alternatively, you could set up a virtual server that everyone could create their own instance for and that allows them to connect to their own chat interface, running the script along side it. Less reasonable, but technically possible.

Return to “Other Programming Languages”

Who is online

Users browsing this forum: No registered users and 1 guest