At 20.14 1998.02.11, William Neuhauser wrote: >I'm having trouble launching apps from DoAppleScript. For example, the >following tries to launch FileMaker Pro. This works fine from the Script >Editor. Any ideas from anyone? > > >$r = MacPerl::DoAppleScript(<<END_SCRIPT); >activate application "FileMaker Pro" >END_SCRIPT > >print $r, "\n"; That worked just fine for me. A dialog box came up and asked where the app is, I selected it, and it launched. But I do know that it is easier and faster to launch an app with Mac::Processes and Mac::MoreFiles, or my own module, Mac::Apps::Launch, which provides a simpler interface to launching, and quitting, apps, and is implemented via those modules. use Mac::Apps::Launch; LaunchApps([qw(R*ch Arch ·uck]) || warn($^E); It is available from CPAN or my site. -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10 1FF7 7F13 8180 B6B6']) #== New Book: MacPerl: Power and Ease ==# #== Publishing Date: Early 1998. http://www.ptf.com/macperl/ ==# ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch