Re: Records
Re: Records
- Subject: Re: Records
- From: "Nigel Garvey" <email@hidden>
- Date: Tue, 27 Sep 2005 11:30:54 +0100
Martin Orpen wrote on Mon, 26 Sep 2005 22:38:55 +0100:
>tell application "Font Book"
> set b to typeface 1
> set myList to {}
> repeat with foo in typeface additional info of b
> set end of myList to {name of (contents of foo), value of (contents
>of foo)}
> end repeat
>end tell
>myList
>
>
>But that just gives me {}
>
>Can somebody tell me what I've forgotten to do while I go and lay in the
>bath?
You've forgotten not to try looping through a record and not to try
getting the property names of records as values in their own right. :-)
NG
_______________________________________________
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