Re: Scripting OS X Terminal
Re: Scripting OS X Terminal
- Subject: Re: Scripting OS X Terminal
- From: garbanzito <email@hidden>
- Date: Tue, 8 May 2001 10:44:32 -0600
at 5/7/01, 2:49 PM -0700, they whom i call Gary Beberman wrote:
Does anyone know a way to script actions in Terminal? I know
Terminal can call Applescript commands. I would like Applescript to
execute commands in terminal.
quoting myself from last month:
At 1:31 PM -0600 4/19/01, steve harley wrote:
i noticed this on osx.macnn.com:
<http://www.vampiresoft.com/Products/MacOS/aeshell.html>
it's a Mac OS X-only scripting addition to run BSD commands.
from a quick test, it doesn't appear to actually create
a shell process, and it operates as if connected to "/".
it does indeed return stdout, and you can run a shell
script with a script like:
set result to AEShell "tcsh /Users/myname/test.command"
steve harley email@hidden