• 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: Dave Balderstone <email@hidden>
  • Date: Fri, 11 Jul 2003 14:11:23 -0600

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

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.

Unless you have a reason to use the terminal, you can simply "do shell script", which bypasses the terminal completely. String commands together using a semi-colon.

eg:

do shell script "cd ~/Desktop; ls -R > ~/desktoplist.txt"

djb

Dave Balderstone
Director, Production and Creative Services
Western Producer Publications, Saskatoon, SK, Canada
Phone: 306-665-3545 Fax: 306-933-3536
_______________________________________________
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: open location..
  • Next by Date: Re: Holy Recordability Batman
  • Previous by thread: Re: Do script in the same Terminal window
  • Next by thread: [ANN] (Domo) Arrigato v1.0.1
  • Index(es):
    • Date
    • Thread