• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Records
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Records


  • Subject: Re: Records
  • From: "Gary (Lists)" <email@hidden>
  • Date: Tue, 27 Sep 2005 13:39:25 -0400

"Martin Orpen" wrote:

> On 27 Sep 2005, at 11:30, Nigel Garvey wrote:
>
>> 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.  :-)
>
> It might have been less cruel to mention what I'd *remembered* about
> records - that they were different from lists and... err... that was
> about it for my recall last night.
>
> After a refreshing night's sleep I've remembered that getting names
> from records is a PITA.

Well, at least you didn't fall asleep on the train. Remembering one's stop,
and how to get home, is quite an accomplishment in its own right on some
days.

> Am I going to have to do something kludgy like dumping the record out
> as an error and parse the result:
[...]
> Or is there some better method?

'ConvertToString' is an AS library (open source) which will accomplish this
task.  You could examine the script, independent of the appleMods Loader
system, if you don't want to actually install the library.


> ConvertToString
>
> Licence: BSD/MIT
>
> Converts values of various classes to string while preserving their structural
> appearance (e.g. braces in lists).

<http://applemods.sourceforge.net/mods/Data/ConvertToString.php>

--
Gary

 _______________________________________________
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

References: 
 >Re: Records (From: Martin Orpen <email@hidden>)

  • Prev by Date: Re: Path to Disk Image
  • Next by Date: Re: "Choose file" bug?
  • Previous by thread: Re: Records
  • Next by thread: Re: Records
  • Index(es):
    • Date
    • Thread