[REBOL] Re: help with mail attachment please
From: jeff:rebol at: 14-Aug-2001 11:04
Howdy, Holger:
> The next problem is that MacOS, unlike Unix, Windows,
> AmigaOS, BeOS,... apparently has no system() call (or
> anything similar), i.e. does not allow interaction with
> other applications in an industry standard fashion, but
> requires proprietary methods (AppleScript again, I assume).
No applescript involved, actually. AppleScript, in my
non-mac-expert understanding, is just the shorthand defacto
way of generating apple events. We do have some level of
apple event awareness, though-- most apps have to handle
_some_ apple events, including the docopen event, and a few
others.
LaunchApplication(), which is the Mac's equivalent of
system(), asks the Finder application to start and/or create
the necessary apple events to make a desired application open
up (with a document). It only took me days (weeks) of arduous
research and implementation to make LaunchApplication work
(mostly) as needed. :-)
Quickdraw: nice mac API.
Anything file or app related: painful mac API.
-jeff