At 14.21 1998.03.29, darrylc@foothills.eznet.com wrote: >The error message I get says "Too few arguments." > $evt = AEBuildAppleEvent('core', 'cnte', > typeApplSignature, 'FMP3', > 0,0, "'----':TEXT(\@),$miscobj, kocl:type(ctbl)") > or die $^E; I don't have time to find out any other potential problems, but you need to ahve some string following this. Right now, you have the equivalent of: printf "%s some stuff"; When you need: printf "%s some stuff", $string; i.e., if you have TEXT(@), you need: $evt = AEBuildAppleEvent('core', 'cnte', typeApplSignature, 'FMP3', 0,0, "'----':TEXT(\@),$miscobj, kocl:type(ctbl)", $string) or die $^E; -- 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