Answers for "open new terminal window with applescript"

0

applescript open new terminal tab

tell application "Terminal"
    activate
    do script "ping google.com" in front window
    my makeTab()
    do script "ping yahoo.com" in front window
    my makeTab()
    do script "ping msn.com" in front window
end tell

on makeTab()
    tell application "System Events" to keystroke "t" using {command down}
    delay 0.2
end makeTab
Posted by: Guest on October-19-2021
0

open new terminal window with applescript

tell application "Terminal"
	do script "echo Hello World!"
end tell
Posted by: Guest on May-05-2022

Code answers related to "open new terminal window with applescript"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language