I want to open a program on Mac using a button and an Arduino Leonardo, is there any way to do this? Sending control through USB maybe?
Can you open a program on a mac using just the keyboard?
Sending the same keystrokes from the Leonardo should also do.
Get the Leonardo working as a keyboard first, just use anything to see that you have succeeded.
Then program the sequence with any timing you find necessary between steps.
I have a Leonardo equivalent on my Mac that does the thing that calls up "force quit". It just sends control-alt-delete, or whatever the Mac characters are, which my brain will not allow remembering, which is why I made the little device.
a7
Try using Apple script.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.