Author Topic: Last Keyword variable  (Read 2571 times)

Offline ScottD

  • Newcomer
  • *
  • Posts: 3
    • View Profile
Last Keyword variable
« on: September 03, 2024, 09:56:02 PM »
Keywords could be more useful if there was a variable that was equal to the last keyword in a list (or even better an index number). If there was a {LastKeyw} variable it could be used, for example in file naming or in captions, headline metadata.

Alternatively, being able to search a keyword string recursively to find the last location of the last comma and use that value in a substring selection.


Offline Robert Edwards Media

  • Newcomer
  • *
  • Posts: 8
    • View Profile
    • Robert Edwards Media
Re: Last Keyword variable
« Reply #1 on: September 11, 2024, 11:46:19 AM »
Hi Scott, this is interesting.  What's the use case?

Offline ulrik

  • Newcomer
  • *
  • Posts: 27
    • View Profile
Re: Last Keyword variable
« Reply #2 on: September 20, 2024, 12:00:55 PM »
I was about to write the same.

My usecase is taking the last keyword (which I add when going through photos through the keyword panel) and that is sometimes of different lengths.

If I use Variable Substring Extraction its a mess as its not accurate enough with x number of numbers or letters....

Thanks.