Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



On Jun 22, 2007, at 5:54 PM, Luther Fuller wrote:

For starters, this works ...
on run
set aList to {"recName", 5}
set scriptText to "{" & (item 1 of aList) & ":" & (item 2 of aList) & "}"
set aRec to do script scriptText
display dialog (recName of aRec)
end run

Not on my machine:

"script" in "to do script scriptText" is highlighted and the error is 'Expected end of line, etc., but found "script".' When I try to compile it.

-- Michelle

--
There is hardly anything in the world that some man can't make a little worse and sell a little cheaper, and the people who consider price only are this man's lawful prey.-- John Ruskin



_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >OSAX to Tokenize Record Field Names from List Items ??? (From: Rick Gordon <email@hidden>)
 >Re: OSAX to Tokenize Record Field Names from List Items ??? (From: Luther Fuller <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.