Re: Cumulus Client: Getting Subcategories
Re: Cumulus Client: Getting Subcategories
- Subject: Re: Cumulus Client: Getting Subcategories
- From: Ken Fleisher <email@hidden>
- Date: Tue, 5 Nov 2002 19:05:42 -0500
>
Can anyone help me out with this script? The problem is the second repeat. Cumulus keeps returning an error telling me it can't make some data into the expected type. Now if I substitute this line:
>
>
set SPCatName to name of category thisSubCat
>
>
with
>
>
set SPCatName to name of category 17 --in this case the first subcategory of category "SP" is category ID # 17 it works fine.
Check out what you really have in SPCatList. Your structure suggests you are expecting a list of category indexes, but you probably have a list of something else, likely category id's. You could try:
-- often the parenths make the difference in Cumulus
Set SPCatName to name of (category thisSubCat)
-- or if that doesn't work then
Set SPCatName to name of (category id thisSubCat)
Try to log SPCatList and check out what it really has in it in the event log. I'm willing to bet it's not a list of indexes, but rather id's.
If what you are after is a list of each subcategory by name for just one category (or did you want this to work for any category?), I think there's a better and easier way anyhow. I'll check it out when I get to work in the morning because I don't have Cumulus here at home.
>
I started off liking Cumulus but I am getting real frustrated with it real fast.
I can relate to that all to well!
Ken Fleisher
_______________________________________________
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.