• 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
Re: Do script in the same Terminal window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do script in the same Terminal window


  • Subject: Re: Do script in the same Terminal window
  • From: "Steven D. Majewski" <email@hidden>
  • Date: Fri, 11 Jul 2003 15:58:19 -0400

On Friday, July 11, 2003, at 03:28 PM, Timothy K. Wilkinson wrote:

I know this was covered once before but I can't seem to find it in the
archives.

What is the syntax for sending a "do script" command to a terminal window
without it spawning a new window? I'm in 10.2.6.


by number:

tell application "Terminal" to get do script "top" in window 1

or by name:

tell application "Terminal" to get do script "top" in window named "Terminal  tcsh (ttyp1)"


-- Steve Majewski
dlps - alderman library
_______________________________________________
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.

References: 
 >Do script in the same Terminal window (From: "Timothy K. Wilkinson" <email@hidden>)

  • Prev by Date: Re: Do script in the same Terminal window
  • Next by Date: Re: open location..
  • Previous by thread: Re: Do script in the same Terminal window
  • Next by thread: Re: Do script in the same Terminal window
  • Index(es):
    • Date
    • Thread