cumulus, finding parent category
cumulus, finding parent category
- Subject: cumulus, finding parent category
- From: "Håvard, Inkognito" <email@hidden>
- Date: Fri, 5 Jan 2001 10:40:04 +0100
How do I get the parent (or grandparent) categorys of a given
category in Cumulus 4?
if I select one database item and run:
tell application "Canto Cumulus Client"
set currentItem to id of every row of selection of catalog window of database 1
set currentCategories to categories of (row id currentItem of database 1)
end tell
currentCategories:
--> list of categories ie {"ford", "jan/1999"}
how do I change it to return something like:
{"hardware:cars:uscars:ford", "ads:newspaper:times:jan/1999"}
I would need to detect that "jan/1999" is a child of "times".
any suggestions?
Havard