I'm running into some problematic behavior when I use the {frame} and {frame4} variables to rename photos.
The first time I run the rename function all appears to work well. For example, assuming the following original filenames
_CJR2945.NEF (from a Nikon D3)
_DSC0670.NEF (from a Nikon D90)
IMG_0330.CR2 (from a Canon Powershot G9)
and a rename macro of
CJR_{datesort}_{frame4}
I get the following filenames:
CJR_20081115_0330.CR2
CJR_20090103_0670.NEF
CJR_20090103_2945.NEF
In each case the Preview Info screen shows the correct frame number both before and after the rename.
At this point, if I rename again using the same macro everything is still correct and the Preview Info screen is also correct. However, if I close the contact sheet and reopen it with the same files, I now have different behavior:
(1) the CR2 file from the Canon G9 no longer shows the frame number on the Preview Info screen
(2) attempting to rename with the same macro at this point will rename the Nikon files correctly (e.g. their name stays the same) but the Canon CR2 file will be renamed to CJR_20081115_.CR2 (presumably because it can no longer detect a frame number on that file for some reason).
Note: if I manually rename the CR2 file back to the original filename of IMG_0330.CR2 it is able to rename the file probably without problem, but only for so long as I leave the contact sheet open.
One other interesting observation: For the Nikon files, if I manually rename the original files to some number other than the actual number originally used (e.g., _DSC0670.NEF is manually renamed to _DSC1111.NEF), Photo Mechanic is able to still pick out the correct frame number (0670) and applies that to the file rename. This is good. However, this does not work for the Canon files. If I rename the Canon file from IMG_0330.CR2 to IMG_1113.CR2 it now thinks the frame number is 1113, not 0330. My assumption is that Photo Mechanic is able to read the frame number out of EXIF for the Nikon files and not out of the Canon files (perhaps because in the latter case it doesn't exist?)
To sum up this lengthy post: if there's anything that can be done to avoid the problem where the frame number for Canon files is "forgotten" after renaming and closing the contact sheet, even when the frame number is in a similar 4-digit format to the original prior to the rename, it would be greatly appreciated. Bulk renaming files to find out that some now have no frame number leads to ugly looking filenames.
This is all with 4.6 on a Mac.