Re: set var to foo; get var of record?
Re: set var to foo; get var of record?
- Subject: Re: set var to foo; get var of record?
- From: Terje Bless <email@hidden>
- Date: Sat, 19 Oct 2002 08:54:03 +0200
John Delacour <email@hidden> wrote:
>
At 12:03 am +0200 18/10/02, Terje Bless wrote:
>
>
>Is it just that nobody has gotten around to implement it yet, or is
>
>there simply no way to reconcile this with some fundamental philosophy
>
>of AppleScript (of which I'm too much the novice to be aware of)?
>
>
The fundamental philosophy of AppleScript is never to get round to
>
implementing things.
Ah. I suspected the can contained worms, but pure morbid fascination
compelled me to open it anyway. Good to see my trepidation was not
uwarranted. :-)
>
Regular listoons will not be surprised to hear that my main criticism of
>
your script is that you're using the wrong mailer :-)
Heh! I think regular listoons, my mother, and the pope, were all rather
unsurprised at that particular revelation. :-)
OTOH, I do take that to mean I didn't muck it up too bad. AS must be slowly
worming it's way into my noggin, in spite of my best efforts at ignorance.
>
Now for the good news -- you can use perl in AppleScript... [...]
Oddly enough -- since I've actually done the opposite -- constructing a
Perl script on the fly from AppleScript hadn't occurred to me. Thanks!
Are there any other nifty keen tricks for combining AppleScript and Perl I
should be aware of? Would, say, the combination of AppleScript Studio and
CamelBones allow me to mix and match Perl and AS inside Project Builder?
Hmmm, or do any AppleScript data types stringify into a structure I could
parse into an equivalent datastructure on the Perl side? The string
representation of a AS Record looks promising. Perhaps a Perl module that
automagically creates (Perl) datastructures and/or objects from stringified
AS structures passed in ARGV?
Or should I just bite the bullet and set myself up a SOAP::Lite server as a
bridge (cf. merlyn's recent article on the Apple Internet Developer site)?
Time to experiment a bit it seems. :-)
Thanks again for the help JD!
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.