As far as I'm aware unfortunately the tool that is used for this to work called Autohotkey isn't available on an macOS