• 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
Re: Reading a csv file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading a csv file


  • Subject: Re: Reading a csv file
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 9 Feb 2005 14:36:55 -0700

On Feb 9, 2005, at 3:06 AM, Andrew Oliver wrote:

-- here's the magic
run script "{" & theSource & "}"
--> { 453.25, "Large, red car" }

'run script' takes a text object and executes it as AppleScript. By
formatting the input line as a text representation of a list in AppleScript
and 'running' it, you get a properly formatted, correctly delimited list.

Nice. What about comma delimited fields, and return delimited records with commas within a field?


--
The invasion of Iraq is "a catastrophic success"
-- G.W. Bush, August 29, 2004

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Reading a csv file (From: Andrew Oliver <email@hidden>)

  • Prev by Date: Re: where are the shell scripts ? (Applescript-users Digest, Vol 2, Issue 93)
  • Next by Date: Re: reading a CSV file
  • Previous by thread: Re: Reading a csv file
  • Next by thread: Re: reading a CSV file
  • Index(es):
    • Date
    • Thread