[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] AE & FMP



Cool. 'TEXT(\@)', huh. Why and where can i learn more about this
convention? 

> 
> #!perl -wl
> use Mac::AppleEvents;
> $file = ':test';
> $evt = AEBuildAppleEvent('aevt', 'odoc',
>                           typeApplSignature, 'FMPR',
>                           0,0, "'----':TEXT(\@)", $file) or die $^E;
> print AEPrint($evt);
> $rep = AESend($evt, kAEWaitReply) or die $^E;
> print AEPrint($rep);
> AEDisposeDesc($evt);
> AEDisposeDesc($rep);
> 
> You had two main problems:  you spelled Appl Apple, and you did not make
> $file into TEXT.  You can also do ³$file², but that does not work if $file
> has a ³ or ² in it:
> 
> $evt = AEBuildAppleEvent('aevt', 'odoc',
>                           typeApplSignature, 'FMPR',
>                           0,0, "'----':³$file²") or die $^E;
> 
> BTW, this is with Filemaker Pro 2.1, which is FMPR, I don't know what
> Filemaker Pro 3 is.  FMP3 is probably right.
> 
> --
> 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