3 Ways To Automate Keystroke Sequences On Your Mac
keystroke space using command down presses the spacebar while holding down the command key. This activates Spotlight. keystroke return hits the return key, starting TextEdit. Finally, keystroke “Hello world!