• 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: "Mark J. Reed" <email@hidden>
  • Date: Thu, 3 Nov 2005 15:51:17 -0500

On 11/3/05, Emmanuel <email@hidden> wrote:
Looks like a job for good ol' Satimage.osax' "suppress item" command:

set r to {a:"somevalue", foo:"bar"}
suppress item "a" from r
  --> {foo:"bar"}

Caveat: "suppress item" does not suppress the item from the original
record! "suppress item" returns the changed record but leaves the
original record unchanged.

So what the OP wants is really

set n to (suppress item "a" from r)

Very nice.  I even have Satimage.osax installed already, and didn't even know it (insert standard rant about stealthy nature of OSAXes here...)

--
Mark J. Reed <email@hidden>
 _______________________________________________
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

  • Prev by Date: Re: SSH security question... Please comment my thoughts...
  • Next by Date: Re: Records
  • Previous by thread: Re: Records
  • Next by thread: Re: Records
  • Index(es):
    • Date
    • Thread