At 6:03 pm -0700 24/9/02, Rob Barris wrote:
>How might I best go about exporting a multivalued set of results
>from the AS world (say a boolean and a pathname?)
man osascript
It looks as if the elements of an AppleScript list are coerced to
strings and delimited with comma+space. The example below shows that
you would need to make sure you got the data in an unambiguous form.
#!/usr/bin/perl
use strict ;
my @AS_List = split /, /,
`osascript -e '{2+3=5, path to me, {current date}}'`;
for (@AS_List) {
print "$_$/"
}
true
alias dx2:usr:bin:osascript
Wednesday
September 25
2002 3:57:50 am
JD