OSAX to Tokenize Record Field Names from List Items ???
OSAX to Tokenize Record Field Names from List Items ???
- Subject: OSAX to Tokenize Record Field Names from List Items ???
- From: Rick Gordon <email@hidden>
- Date: Fri, 22 Jun 2007 17:20:49 -0700
How might one go about the process of parsing a list, for instance:
{"fSource", "PicName", "fObjStyle", "[Basic Graphics Frame]", "fWidth", "12p6", "fHeight", "9p3"}
... and dynamically build a record, such as:
{fSource:"PicName", fObjStyle:"[Basic Graphics Frame]", fWidth:"12p6", fHeight:"9p3"}
... without having those field names predefined.
In other words, I would like to dynamically tokenize each odd-indexed filed in the list and pair it with the following even-indexed value. Is this possible with some sort of OSAX?
--
___________________________________________________
RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden