• 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
Property questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Property questions


  • Subject: Property questions
  • From: David Reynolds <email@hidden>
  • Date: Thu, 15 Feb 2001 14:25:08 -0800

Greetings all,

Long time listener, first time caller...

is it possible to reference a property label through a variable?

that is:

property myProp {lable1:1, label2:2, label3:3}
set foo to "label1"
set foo of myProp to 2

as it is, AS looks for a label "foo" in myProp. I want it to look for the
label *contained* by foo in myProp.

Is this doable? I've tried a slew of things and gotten nowhere, this is a
problem I had a while ago and gave up on that approach.

But I'd really like to know.

David Reynolds
----------
tell user
repeat while complexity of ScriptProblem is true
giving up after (goodlyLengthOfTime)
end repeat
end tell


  • Follow-Ups:
    • Re: Property questions
      • From: Timothy Bates <email@hidden>
  • Prev by Date: Re: Help with desktop printing
  • Next by Date: Mouse click
  • Previous by thread: Re: Test for Desktop
  • Next by thread: Re: Property questions
  • Index(es):
    • Date
    • Thread