On Mon, 22 Nov 1999, David Bovill wrote:

> Just a thought (while reading up on the shell() function...
> 
> When considering cross platform authoring, wouldn't it be reasonable to
> consider AppleScript as the equivalent to DOS, or Unix shell commands?

Not really.  The output from DOS or Windows shells is a stream of
bytes.  I/O from an AppleScript can only be done via the baroque
AppleEvent structure.  It will therefore never be as easy to use
AppleScript for this kind of thing as using shell() on Windows or
UNIX, and it's not possible to just substitute one for the other.
Unfortunately this means that on the Mac there's no substitute for
using "launch" and "send X to program y with z" where you have to know
the path to the executable and the AppleEvent codes that that program
(or script) supports.
  Regards,
    Scott

********************************************************
Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...

Reply via email to