Create catalog labels from folder names

Post Reply
maurizio
Posts: 41
Joined: 04 Sep 07 16:16
Location: cagliari, sardinia, italy

Create catalog labels from folder names

Post by maurizio »

Hello,
I find the import option "Create catalog labels from folder names" very useful in my workflow.
However, it would be great if I could do this whenever needed (e.g. after modifying the folder/file structure) and not just at import time.
I remember on IDImager there was a FolderToLabel script. Is there something similar available for PSU?
Thanks in advance!

Kind regards,

Maurizio
Hert
Posts: 7870
Joined: 13 Sep 03 6:24

Re: Create catalog labels from folder names

Post by Hert »

Maybe that script works in PSU? Have you tried it?
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
maurizio
Posts: 41
Joined: 04 Sep 07 16:16
Location: cagliari, sardinia, italy

Re: Create catalog labels from folder names

Post by maurizio »

Not yet, I'll try it now!
Thanks
Maurizio
maurizio
Posts: 41
Joined: 04 Sep 07 16:16
Location: cagliari, sardinia, italy

Re: Create catalog labels from folder names

Post by maurizio »

Just tried the script.
An error occurs on line 43: "Unknown member identifier: "Use Progress".
Commenting this line the script runs till completion (a message "finished" is shown), but nothing seems to happen in the catalog.

Maurizio
maurizio
Posts: 41
Joined: 04 Sep 07 16:16
Location: cagliari, sardinia, italy

Re: Create catalog labels from folder names

Post by maurizio »

By mistake I had tried the "File Name to Catalog Label" instead of "Folder Name to Catalog Label".
The script works fine! Just need to comment out

//Progress.UseProgress;

I also added the line:

APath.Insert(0, 'STORAGE');

after APath.Delete(0); in order to create a "root" label 'STORAGE' in the catalog.

I use this script in order to be able to navigate the file system structure directly in the catalog. This is better than using the FOLDERS, because in this way only one version of each image is shown (the main version).
I don't know if there is some straighter method for achieving this. Maybe a version filter could have been the solution?

Kind regards,

Maurizio
Post Reply