Skip to main content

Keywords from Folders Script

Comments

7 comments

  • www.shootmachine.co

    Not made, but looking at the MP script it can be done. The models are not interchangeable though so there is work to do. 

     

    0
  • ericnepean

    Phrank, can you share the mediapro script. If I understood the part about "selected file path level structure" then an Applescript should not be difficult.

     

    In the MP script, which parts of the path are coverted to keywords, and how does the script know where to stop?

    0
  • Phrank

    Hi Eric, thanks for the interest. Unfortunately i can't the single script (yet) in the Media Pro’s script folder, or anywhere else. Maybe it's built into Media Pro?

    I really like this script, because I have organised my photo jobs in the past with a folder structure for locations and categories. So I could seach independent from any photo database software without embedded meta data in the Mac Finder. I wish you could search / filter the folder/path names of the hard disk in Capture One.

    Here's a screenshot.

    0
  • Phrank

    usually i check "All" and delete the keywords i don't need afterwards

    I don't want to bomb Capture One feature requests with all this DAM stuff, but Phase One have decided to let Media Pro die… Haven't found a alternative yet.

    0
  • ericnepean

    Ok, I see they control the number of levels by using a count.

    I see a fairly simple approach to this, the variant's parent image has a property path, which is a string containing all the parent folders separated by a "/".

    That string can be turned into a list using the "split" function used by many, with the separator character set to "/". This also removes the "/" characters.

    Now we can choose the last n items of the list, and make a keyword for each one.

    One choice has yet to be made. Lets say one of the folders is called "Frog"

    We can either make a keyword "Frog", or we can make a keyword "Folder:Frog"

    I think the second choice is better.

    In the case of the first choice if you ever run the script twice, you may end up with multiple keywords for folders, because there is no way of identifying which keywords represent folders and which keywords represent something else. This also becomes an issue when searching for images with a keyword.

    In the case of the second choice, the script can start by removing any keywords starting with "Folder:", and then adding new ones.

    Hmmm I could make the initial text string according to user input, so it could be "Folder:" or "Topic:" or nothing.

    0
  • Phrank

    hi, i just found the script inside the software package file of Media Pro, I’m not sure if I can post it here.

    Copyright: Phase One

    0
  • ericnepean

    There's no need to post it; all the information we need is in the screenshot.

    0

Please sign in to leave a comment.