Author Topic: File Renaming?  (Read 5155 times)

Offline JAS Photo

  • Sr. Member
  • ****
  • Posts: 394
    • View Profile
    • JAS Photo LLC
File Renaming?
« on: March 22, 2007, 05:46:12 PM »
Kirk,
Using 4.4.3.3 I want to rename a file using part of the current filename {file} (but just the last 4 charcters) before the extension?
Thanks
Joe
Joe Sorrentino
JAS Photo LLC
http://www.JASPhoto.com

Offline JAS Photo

  • Sr. Member
  • ****
  • Posts: 394
    • View Profile
    • JAS Photo LLC
Re: File Renaming?
« Reply #1 on: March 22, 2007, 05:49:29 PM »
Kirk - I did some more searching and found this answer to a prefious question form 8/06 "We don't have any substring extraction, though I have been thinking of adding such capability for some time now."

Was that sill accurate on 4.4.3.3 and is it still on 4.5?

Thanks
Joe
Joe Sorrentino
JAS Photo LLC
http://www.JASPhoto.com

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: File Renaming?
« Reply #2 on: March 22, 2007, 05:55:25 PM »
Joe,

Kirk - I did some more searching and found this answer to a prefious question form 8/06 "We don't have any substring extraction, though I have been thinking of adding such capability for some time now."

Was that sill accurate on 4.4.3.3 and is it still on 4.5?

Yes, substring extraction made it into PM 4.5.

-Kirk

Offline JAS Photo

  • Sr. Member
  • ****
  • Posts: 394
    • View Profile
    • JAS Photo LLC
Re: File Renaming?
« Reply #3 on: March 22, 2007, 09:08:08 PM »
What is the string to get just the last four characters of a filename for the filename - not including the ext.?
Thanks
Joe
Joe Sorrentino
JAS Photo LLC
http://www.JASPhoto.com

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: File Renaming?
« Reply #4 on: March 22, 2007, 09:15:28 PM »
Joe,

What is the string to get just the last four characters of a filename for the filename - not including the ext.?

{filenamebase:-4,4}

-Kirk