• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
coerce shell script output to AS datatypes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Generating HTML emails with Eudora
  • Next by Date: Re: [the great right-tool-for-the-job debate] Re: Running Subroutines from Other Scripts
  • Previous by thread: Re: Generating HTML emails with Eudora
  • Next by thread: Re: coerce shell script output to AS datatypes?
  • Index(es):
    • Date
    • Thread