RE: New window in Terminal.app
RE: New window in Terminal.app
- Subject: RE: New window in Terminal.app
- From: Bill Briggs <email@hidden>
- Date: Fri, 28 Jan 2005 22:53:12 -0400
At 1:20 PM -0700 1/28/05, Doug McNutt wrote:
Is this purposeful behavior or should I file a bug report?
In the absence of any justification, I think it's a bug. The window
renames itself when you haven't told it to. Happens in Terminal even
if you don't work from BBEdit as your examples did.
I need a window selection scheme that will allow stored (shell)
scripts to run properly without having to tell them, each time,
which Terminal window to address. Trying to set index of front
window fails (index is NOT identified as [r/o].) The index numbers
seem always to call the front window "1" so I can't just get the
index and save it.
That, I would say, is normal. It would seem reasonable to have to
tell which window you wanted to address, unless you wanted to address
the front window. But to me it doesn't seem reasonable that you
sprout a new window each time you issue a command. But if I recall
correctly, Chris Nebel tried a few months ago to convince me that
this was right and proper behaviour for Terminal. In the end I think
we just agreed to disagree. Maybe he can refresh my memory as to why
this was a good thing for Terminal to do.
# An interesting side note . . .
# With a single window open in Terminal:
osascript -e 'tell window 1 of application "Terminal" to do script "date"'
# Causes Terminal to create a second window in which it shows the date!
If you add "in front window" to that it won't make a new window. But
then you shouldn't have to do that, should you. It should use the
active window among those already open. But then it should allow you
to make a new window explicitly too. Maybe you should file a few bug
reports.
- web
_______________________________________________
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