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

Cumulus Category


  • Subject: Cumulus Category
  • From: "Steve Suranie" <email@hidden>
  • Date: Fri, 25 Oct 2002 10:45:46 -0400
  • Thread-topic: applescript-users digest, Vol 3 #1003 - 7 msgs

Does anyone know of a way to get all the record names of a single category in a Cumulus catalog? For example, if I had a catalog that had a category tree such as this:

Archive
Cat1
Cat1Record1
Cat1ecord2
Cat2
Cat2Record1
Cat2ecord2

How could I get all of Cat2's records into a list. I know I can get all the records of a catalog and check them to see which category they are associated with but I have a catalog with thousands of records. I don't want to have to read all these records and then filter out those that match my criteria.

I've tried this code:

set catList to {}

tell application "Cumulus Client"

tell front collection
copy name of every category to catList

repeat with thisCat in catList
set theRecordList to name of every record of thisCat
return theRecordList
end repeat

end tell

end tell

but only returned an error. Any help would be appreciated.
_______________________________________________
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: filtering a list of items with Finder
  • Next by Date: Odd Entourage behavior
  • Previous by thread: Re: filtering a list of items with Finder
  • Next by thread: Re: Cumulus Category
  • Index(es):
    • Date
    • Thread