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

Re: [MacPerl] MacPerl->Applescript



At 14.31 1998.02.09, Shyam Hegde wrote:
>>
>>Well, a few ideas:
>>
>>2.)  Use one call to MacPerl to return a single, delimited data structure
>>and split that up in AppleScript.
>>
>
>Chris,
>
>Thanks for such a quick response.  The option above sounds like a good
>quick fix - I'm not that profficient in AppleScript and I was hoping you
>might be able to give me some pointers in how to do this.  From the little
>I understand about AppleScript, I must use a list data structure in the
>form of {"a","b","c","d"}
>
>This would mean that MacPerl would have to write variables into a string in
>the format above.  I tried to implement this using the construct:
>
>        $myreply = qq({"$var1","$var2","$var3","$var4"});
>
>But MacPerl seems to escape these characters when passing back to
>AppleScript with "\"??
>
>If you have any ideas then they are greatly appreciated.

I don't do much AppleScript myself.  But the example from Christian Huldt
<chr@solvare.se> posted Sun, 8 Feb 1998 03:35:06 +0100 seems to be what you
are looking for.  That is pretty cool, Christian, thanks!

--
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