• 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:52:13 -0400

That should be:

                    if its username is "wayne" then

note "its".

Incidentally, if I were writing this myself, I would dispense with the
individual variables and just use a record all the way through:

if its username is "wayne" then
    set foundRecord to it
end

Then later:

   tell foundRecord
        ... do stuff with "its username", "its emailadd", etc in here.
   end tell

I think that's short enough without making a bunch of variables.  But
that's just me. :)
 _______________________________________________
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: Wayne Melrose <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>)
 >Re: working with records (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: working with records
  • 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