Hello Chris, > At 12:48 +0900 2001.10.24, Nobumi Iyanaga wrote: > >I would like to know how to write the AppleScript commands "activate" > and>"open document" in AppleEvent, within a MacPerl script. More > specifically,>what I would like to do is the equivalent of: > > > >tell application "Nisus Writer" > > activate > > open document "document_path" > >end tell > > > >in AppleEvent (I would prefer to not use Mac::Glue, because of memory > >requirement...). > > Awww. > > First, have you looked into MacPerl::DoAppleScript()? If not, it is > worthlooking at is. Slowest to execute, because of compilation time, but > easiest to do (isn't that always the case? :). > [snip...]
Thank you very much for your very complete answer. Now, I can do what I wanted! Thanks again, Nobumi Iyanaga Tokyo, Japan