Author Topic: Variable for folder name  (Read 2109 times)

Offline DavidHoffmanuk

  • Sr. Member
  • ****
  • Posts: 315
    • View Profile
Variable for folder name
« on: July 13, 2024, 05:48:35 AM »
Is there a variable for the name of an enclosing folder that I could use in a renaming string?

If not, is there a way that I could add the folder name to an unused metadata field & use that?

David Hoffman

Offline Max Lemesh

  • Full Member
  • ***
  • Posts: 169
    • View Profile
Re: Variable for folder name
« Reply #1 on: July 13, 2024, 09:11:49 AM »
something like tokens like Parent Folder and Grandparent Folder introduced in Capture One Studio?
It would be great if PM matched C1 in this regard

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Variable for folder name
« Reply #2 on: July 13, 2024, 12:31:47 PM »
David,

Is there a variable for the name of an enclosing folder that I could use in a renaming string?

If not, is there a way that I could add the folder name to an unused metadata field & use that?

{folder} = The folder name for a photo (e.g. the current contact sheet)

https://docs.camerabits.com/support/solutions/articles/48000358438-list-of-photo-mechanic-variables

HTH,

-Kirk

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Variable for folder name
« Reply #3 on: July 13, 2024, 12:32:44 PM »
Max,

something like tokens like Parent Folder and Grandparent Folder introduced in Capture One Studio?
It would be great if PM matched C1 in this regard

Please make a feature request if you want additional variables added.  These threads are not tracked for feature requests.

-Kirk

Offline DavidHoffmanuk

  • Sr. Member
  • ****
  • Posts: 315
    • View Profile
Re: Variable for folder name
« Reply #4 on: July 14, 2024, 01:50:32 AM »
David,

Is there a variable for the name of an enclosing folder that I could use in a renaming string?

If not, is there a way that I could add the folder name to an unused metadata field & use that?

{folder} = The folder name for a photo (e.g. the current contact sheet)

Thanks Kirk, I should have found that myself. I struggle to find the variable list, usually have to Google for it. I've made finding it more easily a feature request.
David

https://docs.camerabits.com/support/solutions/articles/48000358438-list-of-photo-mechanic-variables
« Last Edit: July 14, 2024, 02:35:54 PM by Kirk Baker »