iView home page
iView Multimedia Forum Index

FAQ FAQ     SearchSearch     MemberlistMemberlist     UsergroupsUsergroups    RegisterRegister  
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Nested catalog sets script?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    iView Multimedia Forum Index -> AppleScript
View previous topic :: View next topic  
Author Message
CalView



Joined: 25 Feb 2008
Posts: 7

PostPosted: Mon Mar 03, 2008 5:37 am    Post subject: Nested catalog sets script? Reply with quote

Hello folks,

I am working on a catalog that relies heavily on nested catalog sets. From what I can gather, the only way to make an image nested in a catalog set visible from the top level is by adding it to all of the containing catalog sets.

For example, here is a sample hierarchy of catalog sets:

Animals
---Mammals
-----Panda Bears

As it stands, I would have no idea that my image is in the catalog set "Panda Bears" if all of the catalog sets are closed. My workaround is to also put the image in the "Mammals" and "Animals" catalog sets. This way, if I randomly select my image through a search, I can find a visible path to its location in the catalog set hierarchy.

Problem: It's tedious and time consuming to add my images manually to multiple catalog sets.

Hence, my question: Is there a script that would automatically add an image to its containing catalog sets? So, if I drag my image to Panda Bears, it would also be automatically dragged and thus highlighted in Mammals and Animals?

Or perhaps I have overlooked some other way of fixing this problem?

Thanks for reading my post. I hope it makes sense! I look forward to your feedback.

Hannah
Back to top
View user's profile Send private message
Daniel



Joined: 01 May 2004
Posts: 119
Location: France

PostPosted: Mon Mar 03, 2008 9:01 am    Post subject: Reply with quote

Hi Hannah,
You don't need a script for this.
Just check "Union of field hierarchies"
(see manual page 83).
_________________
G4 MDD 2x1 GHz, 2 Go (Mac OS 10.4.11) ; PB G4 15" 1,67 GHz, 1 Go (Mac OS 10.5.2)
Back to top
View user's profile Send private message Visit poster's website
CalView



Joined: 25 Feb 2008
Posts: 7

PostPosted: Mon Mar 03, 2008 7:02 pm    Post subject: Reply with quote

Hi Daniel,

Thank you for reading my post and offering a suggestion. While I haven't used the feature before, it doesn't appear to fix the problem for me. I think it might be easier to explain in screenshots.

Currently, if I select an image and it's in a nested catalog set, I cannot tell where it resides (even with union field of hierarchies selected):



This is what I aim for:



In order to have visibility, I must manually drag my images into each containing catalog set:




Is there a way I can avoid dragging the image into all of the nested folders? A script that can automate this process?

Thanks again for reading about my question, and for your input!

Hannah
Back to top
View user's profile Send private message
Daniel



Joined: 01 May 2004
Posts: 119
Location: France

PostPosted: Mon Mar 03, 2008 8:25 pm    Post subject: Reply with quote

Click the white point to make it green and miracle !
Show only insects

Show all invertebrate

Show all animals
Back to top
View user's profile Send private message Visit poster's website
CalView



Joined: 25 Feb 2008
Posts: 7

PostPosted: Mon Mar 03, 2008 9:00 pm    Post subject: Reply with quote

Dear Daniel,

I love the green button! And I very much appreciate that you have taken the time to create screenshots for me. But I don't think this still helps me. :-(

You assume that I would already know that a butterfly is found in "Insectes" under "Invertébrés."

I am building a database that will be used by many different people who are not aware of all the catalog sets. The catalog sets document different events. One purpose is to find images of specific people. So, if I do a search for Mr. X, I want to see if this image is part of Catalog Set A, B, or C.

To follow your example, I want to be able to do a keyword search for a butterfly, click an image and be able to automatically see that it lives in Animaux, Invertébrés, and Insectes. If I love the butterfly image, maybe there are other images that in the "Insectes" folder that I would also like. The only way to make that path to Insectes visible is by also adding my butterfly image to Animaux and Invertébrés.

Does this make sense? Perhaps I am missing something fundamental, I don't know. I do appreciate your patience and detailed explanations!

Hannah
Back to top
View user's profile Send private message
Daniel



Joined: 01 May 2004
Posts: 119
Location: France

PostPosted: Tue Mar 04, 2008 9:18 pm    Post subject: Reply with quote

The scripting of the sets in IVMP (and EM) is incomplete.
For each media it is not possible to directly know the sets on which it is dependent.
But it is possible to obtain what a set contains (other sets and medias).
Unfortunately a bug prevents from properly recovering the medias of a set (in order to assign them to the parent set).
For the moment I did not succeed to bypass this bug.

Sorry.

Daniel
Back to top
View user's profile Send private message Visit poster's website
Daniel



Joined: 01 May 2004
Posts: 119
Location: France

PostPosted: Thu Mar 06, 2008 3:41 pm    Post subject: Reply with quote

Hi,
I think of having succeeded.
Try this script it's faceless and is tested under 10.4.11 PPC.
Assign to parent set.zip

It Works on selected items to assign all sets of each media to their container set.


Last edited by Daniel on Wed Mar 12, 2008 3:47 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
CalView



Joined: 25 Feb 2008
Posts: 7

PostPosted: Thu Mar 06, 2008 7:25 pm    Post subject: Reply with quote

Daniel,

Thank you so much! I took off a couple of days from work, but will try this script when I come to the office.

I will let you know how it works!

Hannah
Back to top
View user's profile Send private message
CalView



Joined: 25 Feb 2008
Posts: 7

PostPosted: Wed Mar 12, 2008 2:58 pm    Post subject: couldn't find script Reply with quote

Dear Daniel,

Forgive me, but I didn't see the script in the file that you uploaded. Instead, I see the iView application ...

I have time to dedicate to this project today and I am very excited to try out your script! :-)

Hannah
Back to top
View user's profile Send private message
Daniel



Joined: 01 May 2004
Posts: 119
Location: France

PostPosted: Wed Mar 12, 2008 3:50 pm    Post subject: Reply with quote

Sorry for the mistake, link updated: Assign to parent set.zip
Back to top
View user's profile Send private message Visit poster's website
CalView



Joined: 25 Feb 2008
Posts: 7

PostPosted: Mon Mar 17, 2008 6:16 pm    Post subject: Reply with quote

Hi Daniel,

The script worked on one image the first time I tried it. I tried it again, selecting a group of images and it did not work.

Hannah
Back to top
View user's profile Send private message
Daniel



Joined: 01 May 2004
Posts: 119
Location: France

PostPosted: Wed Mar 19, 2008 5:01 pm    Post subject: Reply with quote

Make scripts to handle sets is a pain.
The raison is an imcomplete entries in the application and some bugs.
I tried many of mine and theirs behaviour vary.
They normally run with certains catalog, not with others.

Sorry, I can't do more for you.
Back to top
View user's profile Send private message Visit poster's website
CalView



Joined: 25 Feb 2008
Posts: 7

PostPosted: Thu Mar 20, 2008 5:46 pm    Post subject: Reply with quote

Dear Daniel,

I appreciate the effort you made into finding a solution. Hopefully, this issue will be improved in a later release! :-)

Hannah
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    iView Multimedia Forum Index -> AppleScript All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



  © iView Multimedia Ltd. | All Rights Reserved Privacy Policy | Copyright | Site Map