Re: Sending commands to the terminal with applescript
Re: Sending commands to the terminal with applescript
- Subject: Re: Sending commands to the terminal with applescript
- From: garbanzito <email@hidden>
- Date: Fri, 20 Apr 2001 15:03:54 -0600
at 4/19/01, 4:16 PM -0700, they whom i call Yah Right wrote:
I am trying to run a script that returns some information from the
terminal. The dialog only displays part of the information. [...]
set dialogtext to AEShell ("/usr/bin/hostinfo")
display dialog dialogtext
display dialog has a limit of 255 characters (on Mac OS X
at least). there are lots of workarounds, not least of
which is to send stdout to a file:
AEShell ("/usr/bin/hostinfo >/Users/myname/foo.txt")
steve harley email@hidden