how to make it so when button is pressed pro micro launches a program on my mac

I've been searching but never found an answer. I have built a macropad but haven't coded it yet, i wanna make it to launch an app on my mac(not windows, so autohotkey is out of the equation) i know it's pro bably along the lines of
loop
if button is not pressed
chill
else
if button is pressed
activate program....
but i don't know how to code it...

You can learn how to do the Arduino part of it from this tutorial:

As for the Mac side of things, I don't really have much experience with this operating system, but it should be easy to find a way to launch an app when a keyboard shortcut is pressed. Maybe someone else here will have advice, otherwise I'm sure it will only take a couple minutes on Google to get the solution.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.