osx - Mac keyboard from the command line -


i'm writing bash script, , attempting open separate terminal window run commands in. able open new terminal window open -a terminal ., possible switch between windows bash?

you can run applescript scripts using command osascript.

script activating terminal window:

tell application "terminal" activate 

or opening new terminal window:

tell application "terminal"     script " "     activate   end tell 

found here - https://superuser.com/questions/195633/applescript-to-open-a-new-terminal-window-in-current-space


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -