set command1 to "echo 'this is tab 1'"

set command2 to "echo 'this is tab 2'"

set command3 to "echo 'this is tab 3'"


tell application "Terminal"

activate

do script with command command1

tell application "System Events" to tell process "Terminal" to keystroke "t" using command down

do script with command command2 in tab 2 of front window

tell application "System Events" to tell process "Terminal" to keystroke "t" using command down

do script with command command3 in tab 3 of front window

end tell