• 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: "S. J. Cunningham" <email@hidden>
  • Date: Fri, 16 Oct 2015 17:22:54 -0400


On Oct 16, 2015, at 4:44 PM, Stockly, Ed wrote:

A single property whose contents is a record?

property valueBin : {a:"z", b:"y", c:3}

set x to valueBin's b

Ed,

Maybe I wasn't being clear.  I have about 8 sets of properties that look like:

-- System State Semaphores
property semSystemStateFolderName : "1. System State"
property semSystemStateFolder : semTopFolder & semSystemStateFolderName & ":"
property semSystemStateSemDisarmedName : "Disarmed"
property semSystemStateSemBStartingUpName : "Starting Up"
property semSystemStateSemArmedName : "Armed"
property semSystemStateSemBAlarmedName : "Alarmed"
property semSystemStateSemNamesList : {semSystemStateSemDisarmedName, semSystemStateSemBStartingUpName, semSystemStateSemArmedName, semSystemStateSemBAlarmedName}
property semSystemStateSemDisarmedRecord : {S_Name:semSystemStateSemDisarmedName, S_Folder:semSystemStateFolder}
property semSystemStateSemStartingUpRecord : {S_Name:semSystemStateSemBStartingUpName, S_Folder:semSystemStateFolder}
property semSystemStateSemArmedRecord : {S_Name:semSystemStateSemArmedName, S_Folder:semSystemStateFolder}
property semSystemStateSemAlarmedRecord : {S_Name:semSystemStateSemArmedName, S_Folder:semSystemStateFolder}
property semSystemStateSemRecordsList : {semSystemStateSemDisarmedRecord, semSystemStateSemStartingUpRecord, semSystemStateSemArmedRecord, semSystemStateSemAlarmedRecord}
property semSystemStateFolderRecord : {F_Name:semSystemStateFolderName, F_Folder:semSystemStateFolder, F_Min:1, F_Max:1, F_List:semSystemStateSemNamesList, F_Current:missing value}




Steve
------------------
OS X 10.6.8, AppleScript 2.1.2

 _______________________________________________
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: Christopher Stone <email@hidden>
    • Re: Any way to avoid huge property lists at the top of a script?
      • From: "Stockly, Ed" <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>)

  • Prev by Date: Re: Propeties don't persist from run to run in applet. What are my alternatives?
  • 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