An idea should be to use exif:CameraModel ans exif:CameraSerialNumber in the renaming script, but the whole strings seems too long in the custom thumb view (or everywhere...).
My goal is to use only 3 digits (NK1, NK2 here), giving to me the possibility to have 10 Nikon Cameras in my catalog, which seems to be enough.
How can I do that (IF..THEN..ELSE in script language...) ?
fyi, my renaming script is :
Code: Select all
%yyyy-%mm-%dd_%exif:Model
%code Input := StrTran (Input, 'NIKON D', 'D'); %/code
(
%code result := AddLeadingChars( Midstr( '%FileName' , WideTextPos( 'DSC', '%FileName' )+3, Length( '%FileName' ) - Length( RightStr( '%FileName', WideTextPos( 'DSC', '%FileName' )))), '0', 3, False ); %/code
)%exifmakernote:ShutterCount_
%code result := '%EventName'; %/code
.%FileExtension