• 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: working with records
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: working with records


  • Subject: Re: working with records
  • From: "Mark J. Reed" <email@hidden>
  • Date: Thu, 23 Aug 2007 10:49:37 -0400

Sounds to me like Stan's original solution is all you need for this
case.  You could also use a tell block to cut down further on the
verbosity:

repeat with aRecord in theRecordList
    tell aRecord
        if username is "wayne" then
              set {username, emailadd, otherfield } to {its username,
its emailadd, its otherfield}
       end if
    end tell
end repeat

-- now username, emailadd, otherfield, etc. are set
 _______________________________________________
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

  • Follow-Ups:
    • Re: working with records
      • From: "Mark J. Reed" <email@hidden>
References: 
 >working with records (From: Wayne Melrose <email@hidden>)
 >Re: working with records (From: Christopher Nebel <email@hidden>)
 >Re: working with records (From: Wayne Melrose <email@hidden>)

  • Prev by Date: QXP -> PDF
  • Next by Date: Re: working with records
  • Previous by thread: Re: working with records
  • Next by thread: Re: working with records
  • Index(es):
    • Date
    • Thread