Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'script is unfriendly to Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
script is unfriendly to Terminal
Authored by: jzsimon on Mar 31, '03 11:28:03AM

A small quibble:

There is a problem with the way the above applesccript takes over Terminal. It might look nice to re-arrange the windows and send two commands to two different terminals, but it messes up whatever terminal window layout there was, and if the default window size was made larger, the new window pops up at the level of the Dock.

Worse than that, though, is the use of the frontmost terminal window at all. If the frontmost terminal window is logged into another computer (e.g. via ssh), the command sent to that window make no sense. And if that frontmost terminal window isn't idle, the command doesn't work either.

It would be cleaner to do everything in a new terminal window and let that window pop up in the default location.


[ Reply to This | # ]