Author Topic: "code" to modify variable string?  (Read 4706 times)

Offline Camera Nera

  • Newcomer
  • *
  • Posts: 6
    • View Profile
"code" to modify variable string?
« on: July 14, 2011, 11:59:42 AM »
Hello everyone, I am new in PM and I just began to discover the use of variables in general, which I find great.

Now I would like to make modifications of file names. I found a post where it was described how to remove some chars for exemple (I mean http://forums.camerabits.com/index.php?topic=5870.msg26899#msg26899 ) .

What I think I need to know, is what "language" is used to modify the variables, so that I can make some reseach on "basic vocabulary".
I hope I express myself clearly enough and that you understand what I am looking for?

Thanks for any help!
Noukita

PS: I run PM 4.6.6 on Mac 10.6.8, though this might not be so relevant for my question...


Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: "code" to modify variable string?
« Reply #1 on: July 14, 2011, 03:40:48 PM »
Noukita,

Hello everyone, I am new in PM and I just began to discover the use of variables in general, which I find great.

Now I would like to make modifications of file names. I found a post where it was described how to remove some chars for exemple (I mean http://forums.camerabits.com/index.php?topic=5870.msg26899#msg26899 ) .

What I think I need to know, is what "language" is used to modify the variables, so that I can make some reseach on "basic vocabulary".
I hope I express myself clearly enough and that you understand what I am looking for?

There is really no language, just a simple syntax that describes the range of characters in the expanded variable that you want to keep, along with some simple conversions like making the extracted range all uppercase.

See page 51 of the Photo Mechanic manual.  You can get the manual here:

http://www.camerabits.com/site/downloads.html

-Kirk

Offline Camera Nera

  • Newcomer
  • *
  • Posts: 6
    • View Profile
Re: "code" to modify variable string?
« Reply #2 on: July 15, 2011, 03:59:34 AM »
Krik, thanks a lot for your answer, that is perfect!

Have a nice day,
Noukita