Script terminal.app -without- opening a new term window?
Script terminal.app -without- opening a new term window?
- Subject: Script terminal.app -without- opening a new term window?
- From: Charles Bouldin <email@hidden>
- Date: Thu, 14 Mar 2002 14:05:49 -0500
I have a feeling this just can't be done, but would love to be wrong.
If I do something like:
tell application "Terminal"
do script with command "ls"
end tell
a new terminal window is always opened. I know you can group multiple
commands separated by ; but that doesn't help for what I want to do.
Is there any way to force terminal to use an existing window? The
reason is that I run a unix cli program from terminal.app and get
grahical output via pgplot in another xwindow. A first cut at putting
an "interface" on the cli program is to use applescripts to run
terminal, and then perhaps use applescript studio to make a simple
GUI. This approach has the great benefit that it leaves the unix
program untouched, but so far I am completely stymied by this
apparent limitation in scripting terminal.
Suggestions much appreciated!
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.