Re: Reading a csv file
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