Hello,
I have a totaky newbie question.
I need make part of my work automatical.
So I need open 2 windows (and leave open for manual entry) or tabs (on Leopard) in terminal app like this:
tell application "Terminal"
activate
tell window 1
set custom title of window 1 to "SSH to <host>"
do script "......" in window 1
end tell
tell window 2
set custom title of window 2 to "SFTP to <host>"
do script "......" in window 2
end tell
end tell
But it not work. Terminal also not accept phase:
tell application "Terminal"
activate
make new window
end tell
Could you help me?
Thank you.
Model: iMac
AppleScript: 2.0
Browser: Safari 525.18
Operating System: Mac OS X (10.5)