Author Topic: about changes possible for {filename}  (Read 9490 times)

Offline Soizic

  • Sr. Member
  • ****
  • Posts: 449
    • View Profile
about changes possible for {filename}
« on: August 16, 2009, 07:47:26 AM »
I see {filename:8} suppress 7 letters from begining.

I need suppress letters at the end of filename. I wish the name of an old photo "adrien-07-04" wuold be only "adrien" . If success, i know how to obtain  "adrien-Apr2007" and the same for a lot of photos.
Is it possible ?
Thanks
Soizic (France)
MacBook Pro M1,Ventura, PM+ à jour, deepl translator

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25022
    • View Profile
    • Camera Bits, Inc.
Re: about changes possible for {filename}
« Reply #1 on: August 16, 2009, 08:08:44 AM »
I see {filename:8} suppress 7 letters from begining.

I need suppress letters at the end of filename. I wish the name of an old photo "adrien-07-04" wuold be only "adrien" . If success, i know how to obtain  "adrien-Apr2007" and the same for a lot of photos.
Is it possible?

Yes.  Use:

{filename:0,6}

HTH,

-Kirk

Offline Soizic

  • Sr. Member
  • ****
  • Posts: 449
    • View Profile
Re: about changes possible for {filename}
« Reply #2 on: August 16, 2009, 10:26:13 AM »
thanks, (I tried only {filename:0:6} !!)
Soizic (France)
MacBook Pro M1,Ventura, PM+ à jour, deepl translator

Offline Soizic

  • Sr. Member
  • ****
  • Posts: 449
    • View Profile
Re: about changes possible for {filename}
« Reply #3 on: August 16, 2009, 10:47:10 AM »
Sorry, it is not convenient for any name.
I would have something like
{filename:0,lengthname  - 6}

I suppose it is not possible ?

With IvieWediaPro, I made change "-07-04" by "". (Only 12 manip for each year…)
Soizic (France)
MacBook Pro M1,Ventura, PM+ à jour, deepl translator

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25022
    • View Profile
    • Camera Bits, Inc.
Re: about changes possible for {filename}
« Reply #4 on: August 16, 2009, 05:56:56 PM »
Sorry, it is not convenient for any name.
I would have something like
{filename:0,lengthname  - 6}

I suppose it is not possible ?

With IvieWediaPro, I made change "-07-04" by "". (Only 12 manip for each year…)

Then use {filename:0,-6} instead.

HTH,

-Kirk



Offline rjp

  • Member
  • **
  • Posts: 93
    • View Profile
Re: about changes possible for {filename}
« Reply #5 on: August 17, 2009, 03:48:13 PM »
Sorry, it is not convenient for any name.
I would have something like
{filename:0,lengthname  - 6}

I suppose it is not possible ?

With IvieWediaPro, I made change "-07-04" by "". (Only 12 manip for each year…)

Then use {filename:0,-6} instead.

HTH,

-Kirk




Wow!

Offline Soizic

  • Sr. Member
  • ****
  • Posts: 449
    • View Profile
Re: about changes possible for {filename}
« Reply #6 on: August 17, 2009, 10:56:12 PM »
All is OK, thanks.
Beautiful PM !
Soizic (France)
MacBook Pro M1,Ventura, PM+ à jour, deepl translator