• 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: Accessing a <<class X>> property of record
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing a <<class X>> property of record


  • Subject: Re: Accessing a <<class X>> property of record
  • From: julifos <email@hidden>
  • Date: Fri, 25 Jul 2003 10:26:18 +0200

> Hello All,
>
> I am trying to access the standard deviation property of a statlist (in
> satimage osax). I can see the statlist as follows:
>
> {maximum:9.0, maximum index:13, minimum:2.0, minimum index:12, +class
> SUM ;:1717.0, +class MEAN;:5.685430463576, +class Sigm;:4.35468839086,
> +class StDe;:2.086789014457}
>
>
> but, I can only access those properties that are not of form <<class
> x>>. How do I assign the value from one of these properties to a
> variable.

Just as you think:

set x to {maximum:9.0, maximum index:13, minimum:2.0, minimum index:12,
<<class SUM >>:1717.0, <<class MEAN>>:5.685430463576, <<class
Sigm>>:4.35468839086, <<class StDe>>:2.086789014457}

maximum of x --> 9.0
<<class SUM >> of x --> 1717.0

jj
_______________________________________________
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.

  • Prev by Date: move theFile to thePath replacing no
  • Next by Date: Re: move theFile to thePath replacing no
  • Previous by thread: Accessing a <<class X>> property of record
  • Next by thread: Terminal App inside a Bundle App
  • Index(es):
    • Date
    • Thread