On Mon, 22 Nov 1999 09:14:35 -0700 (MST) Scott Raney <[EMAIL PROTECTED]>
writes:
> 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.
My external can both execute Applescripts and return a value(of any
size). Another function opens a document as if doubleclicked in the
finder. I also have an applescript I know, which will return the path to
an application based on the applications name or creator code.
regards,
Tuviah Snyder
Diskotek
Custom Application Development & SuperCard/HyperCard Conversion at a low
price