At 15.21 -0500 1999.02.10, Richard Gordon wrote: >Since the runtime app's name and the script's name are the same,does this mean >that I use something like: > >tell app "myScript" >do script "myScript" >end tell > >or am I missing something here? Just do: tell application "myApp" activate end tell It will run. >Also, I noticed that Do Script event includes: > >"[preprocess boolean] -- if true, send script through C preprocessor." >"[mode Local/Batch/Remote/Duplex] -- mode (local, batch, remote, duplex)." > >I didn't think that Perl could be preprocessed on a Mac- if it can, how do you >do this? And what is all this mode stuff about? I've never attempted preprocessing. The mode stuff is explained somewhat in MacPerl.Frontend document. Basically, local is default and what you usually want (and you return data via MacPerl::Reply()), and batch redirects STDOUT to the Apple Event, so AppleScript (in this case) would get STDOUT back. -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch