Sending commands to the terminal with applescript
Sending commands to the terminal with applescript
- Subject: Sending commands to the terminal with applescript
- From: "Yah Right" <email@hidden>
- Date: Thu, 19 Apr 2001 16:16:13 -0700
there is a nice scripting addition here:
http:www.vampiresoft.com/Products/MacOS/aeshell.html
I am trying to run a script that returns some information from the terminal.
The dialog only displays part of the information. I can past all the info
to the script and it displays directly. Is there a limit to what a
paticular variable can hold. If you have the scripting addition here is
the script that only returns part of the value.
set dialogtext to AEShell ("/usr/bin/hostinfo")
display dialog dialogtext
_________________________________________________________________
Get your FREE download of MSN Explorer at
http://explorer.msn.com