Re: Do script in the same Terminal window
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.