How to use AppleScript to launch three scripts, each in new Terminal tab?
&quot;System Events&quot; doesn't understand what you want to do with do script, use the do script command outside of the tell application &quot;System Events&quot; block.

You must specify a window or tab when using the do script command, otherwise a new window will open.



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

on makeTab()
    tell application &quot;System Events&quot; to keystroke &quot;t&quot; using {command down}
    delay 0.2
end makeTab