Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

open new terminal window with applescript

tell application "Terminal"
	do script "echo Hello World!"
end tell
Comment

PREVIOUS NEXT
Code Example
Shell :: chmod 400 command meaning 
Shell :: fix ubuntu certificates 
Shell :: generate angular unit test automatically 
Shell :: ffmpeg trim 
Shell :: linux remove non empty directory 
Shell :: ettercap terminal 
Shell :: windows unable to format protected usb 
Shell :: pip install apyori 
Shell :: View a Particular Commit in git command 
Shell :: how to create security group using aws cli 
Shell :: tasksel 
Shell :: how to add extension to all files terminal 
Shell :: android connect your phone via usb on linux - adb devices 
Shell :: ubuntu extract zip 
Shell :: dig +noall +answer 
Shell :: snap scrcpy 
Shell :: create a new repository on the command line github 
Shell :: how create new git branch 
Shell :: git shothand commands 
Shell :: rec: command not found 
Shell :: bash command change time 
Shell :: cat stands for in linux 
Shell :: start with git and github 
Shell :: some github markup badges 
Shell :: revert to commit git 
Shell :: how to run "npm start" ansible pm2 
Shell :: how to login as root user in kubernetes pod 
Shell :: git sync branch from master 
Shell :: cli50 documentation 
Shell :: remove htaccess files in all folders linux 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =