AutoHotKey Equivalent for Mac
Posted: 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:
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.
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Gui, +alwaysontop
Gui, Add, Button, gBuzzer1, Round #1: Buzz!
Gui, Add, Button, gBuzzer2, Round #2: Buzz!
Gui, Add, Button, gBuzzer3, Round #3: Buzz!
Gui, show
Return
Buzzer1:
{
Send, !{Esc} ; Changed from Alt+Tab
Sleep, 20
Send, ?buzz{Enter}
}
Return
Buzzer2:
{
Send, !{Esc} ; Changed from Alt+Tab
Sleep, 20
Send, {!}buzz{Enter}
}
Return
Buzzer3:
{
Send, !{Esc} ; Changed from Alt+Tab
Sleep, 20
Send, /buzz{Enter}
}
Return
Esc::ExitApp