• 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: Any way to avoid huge property lists at the top of a script?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any way to avoid huge property lists at the top of a script?


  • Subject: Re: Any way to avoid huge property lists at the top of a script?
  • From: "Stockly, Ed" <email@hidden>
  • Date: Fri, 16 Oct 2015 22:05:11 +0000
  • Thread-topic: Any way to avoid huge property lists at the top of a script?

I meant something like this:


property allMyProperties : {}


my SetPropValues()

—the rest of your script


on SetPropValues()

set allMyProperties to {semSystemStateFolderName:"", semSystemStateFolder:"", semSystemStateSemDisarmedName:"Disarmed", semSystemStateSemBStartingUpName:"Starting Up", semSystemStateSemArmedName:"Armed", semSystemStateSemBAlarmedName:"Alarmed", semSystemStateSemNamesList:{}, semSystemStateSemDisarmedRecord:{S_Name:"", S_Folder:""}, semSystemStateSemStartingUpRecord:{S_Name:"", S_Folder:""}, semSystemStateSemArmedRecord:{S_Name:"", S_Folder:""}, semSystemStateSemAlarmedRecord:{S_Name:"", S_Folder:""}, semSystemStateSemRecordsList:{}, semSystemStateFolderRecord:{F_Name:"", F_Folder:"", F_Min:1, F_Max:1, F_List:"", F_Current:missing value}}

set semSystemStateFolderName of allMyProperties to "x"

--etc.

end SetPropValues



Ed Stockly
LA Times 
  
 _______________________________________________
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: Any way to avoid huge property lists at the top of a script?
      • From: "S. J. Cunningham" <email@hidden>
References: 
 >Any way to avoid huge property lists at the top of a script? (From: "S. J. Cunningham" <email@hidden>)
 >Re: Any way to avoid huge property lists at the top of a script? (From: "Stockly, Ed" <email@hidden>)
 >Re: Any way to avoid huge property lists at the top of a script? (From: "S. J. Cunningham" <email@hidden>)

  • Prev by Date: Re: Any way to avoid huge property lists at the top of a script?
  • Next by Date: Re: Any way to avoid huge property lists at the top of a script?
  • Previous by thread: Re: Any way to avoid huge property lists at the top of a script?
  • Next by thread: Re: Any way to avoid huge property lists at the top of a script?
  • Index(es):
    • Date
    • Thread