Make new window in Terminal
Make new window in Terminal
- Subject: Make new window in Terminal
- From: David Crowe <email@hidden>
- Date: Fri, 24 Sep 2004 11:58:35 -0400
Title: Make new window in Terminal
Sometimes you need to run a shell script in Terminal, rather than
with "do shell script" (e.g. running ssh). This is
particularly nice if you want to see what the script has done/is
doing, something that's difficult if the script is running invisibly
in the background.
This fails if the terminal has no windows open.
The question is, how do you persuade Terminal to open a new
window for the script?
I naively tried:
tell application "Terminal"
make new window
end tell
and got the error NSArgumentsWrongScriptError
Do I need to specify values for the "at", "with
data" and/or "with properties" elements of the command?
And, if so, what do I put there?
- David Crowe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden