• 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
Working With Records
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Working With Records


  • Subject: Working With Records
  • From: Steven Valenti <email@hidden>
  • Date: Thu, 15 Jan 2004 11:19:39 -0500

Records never seemed to work the way I wanted them and for that reason
avoided them. I need to understand them now and try to make use of
them. The following example results in an error "Can't get RecordNumber
of {FirstRecord:400, SecondRecord:800}

set RecordNumber to "FirstRecord"
set TheRec to {FirstRecord:400, SecondRecord:800}
get RecordNumber of TheRec

I know that if I write "get FirstRecord of TheRec" will return 400 and
work correctly, however my case is that I wont know what record will be
needed and thus need to use the variable RecordNumber to get the
correct record needed.

Can anyone shed a glimmer of light for me?
Thanks
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Working With Records
      • From: Deivy Petrescu <email@hidden>
    • Re: Working With Records
      • From: Geoff Graham <email@hidden>
    • Re: Working With Records
      • From: Paul Berkowitz <email@hidden>
    • Re: Working With Records
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: How do I schedule a script
  • Next by Date: Re: Working With Records
  • Previous by thread: Re: How do I schedule a script
  • Next by thread: Re: Working With Records
  • Index(es):
    • Date
    • Thread