• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Script terminal.app -without- opening a new term window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Script terminal.app -without- opening a new term window?
      • From: Caleb Strockbine <email@hidden>
    • Re: Script terminal.app -without- opening a new term window?
      • From: Reinhold Penner <email@hidden>
  • Prev by Date: Re: Getting the Documents Folder
  • Next by Date: ANNOUNCE: XML Tools 2.4
  • Previous by thread: Re: form validation [OT]
  • Next by thread: Re: Script terminal.app -without- opening a new term window?
  • Index(es):
    • Date
    • Thread