coerce shell script output to AS datatypes?
coerce shell script output to AS datatypes?
- Subject: coerce shell script output to AS datatypes?
- From: john mead <email@hidden>
- Date: Mon, 26 Aug 2002 16:56:21 -0700 (PDT)
I want to return an applescript list from the output
of a shell script. The shell script just prints a list
of comma demimited, quoted strings {wrapped in curley
braces} to stdout. I was expecting to be able to
coerce this result to an applesctipt list, however the
result looks like this:
--> "{\"Thing one\", \"Thing two\"}"
...which I can't seem to coerce to an applescript list
in any simple manner. Is there a know way to return
applescript datatypes from a shell script without a
lot of string wrangling?
Thanks!
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
_______________________________________________
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.