Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
OSAX to Tokenize Record Field Names from List Items ???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OSAX to Tokenize Record Field Names from List Items ???



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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.