hyper
hyper copied to clipboard
Open new window via the command line
Hey, I started using a mac recently, and I would like to have a dedicated button to open a new terminal window, the way I have it now is: I have keyboard shortcut to launch open -a iTerm ~.
I want to switch to hyper but right now I didn't find any way to do this without creating a new instance (and spamming my Dock with a thousand instances).
I would like to use Hyper and this is a must feature before I switch (I know it is possible to do with tabs but I don't like them).
Is there a way to do this via command like?
Thanks!
Ohad
so i managed to do it with the following:
open -a hyper && osascript -e 'tell application "System Events" to keystroke "n" using {command down}'
Thanks!