This script is very helpful to me, but not all metadata fields with dates are displaying those dates.
Because adding a Date Taken to a photo with Directory Opus results in that date being added to the Exif DateTimeOriginal field only, I made a button with a command to copy the Exif DateTimeOriginal to other date fields. When I use that button/command, I can see (using ExifToolGUI and another application) that the dates have been copied to the fields I specified, but they are not displaying in Directory Opus. I refreshed, closed and re-opened Directory Opus, and the dates are still not being displayed. I even re-started my PC just to be sure.
The fields that are not displaying a date that IS present are: Exif CreateDate and XMP CreateDate:
If you have modified column definitions, you need to replace push_back(DefineColumn( with push_back(GetColumnMap( after copying them to the new version
If you used the specialExt feature, you need to recreate it as a wildcard. Should be easy, examples are in the script.
I've tried about 16 variations on the path but am still getting "no exif tool found"
Is there something missing from what I've done?
// -- Adjust to your system. Copy the path to exiftool.exe with 'Edit - Copy Other - Copy Full Pathnames (Double Backslashes)'
var exeExifTool = fsu.Resolve('C:\\exiftool\\exiftool.exe');
// -- Adjust to your preferences. Use double backslashes.
var cacheFolder = fsu.Resolve('/profile\\C:\\Users\\bri\\ExifToolCache');
edit: think I figured it out; was using the buttons in the original post but it seems that they also have a line that needs updating!
edit2: it is working now. for those people that come in the future and are mystified; check that both the buttons and the ColumnExifTool.js.txt have the correct path. so in my case, my exiftool paths are above & in the js.txt I've made it:
// -- Adjust to your system. Copy the path to exiftool.exe with 'Edit - Copy Other - Copy Full Pathnames (Double Backslashes)'
var exeExifTool = fsu.Resolve('C:\\exiftool\\exiftool.exe');
// -- Adjust to your preferences. Use double backslashes.
var cacheFolder = fsu.Resolve('/profile\\ExifToolCache');
thanks! I'm not sure if it was different, but i changed it to var cacheFolder = fsu.Resolve('/profile\\ExifToolCache'); ; still fails bc of missing exiftool.
edit: ahh, I see the issue maybe; I was using your buttons above "Generate Exiftool Helper Files" so I could try to see what I was doing wrong, but I see that the buttons also have a var exeExifTool = fsu.Resolve('/bin\\exiftool\\exiftool.exe'); which I'd guess has to be resolved as well
I worked several hours learning to use this script today.
I'm still on the original version you posted, but I'll get it up to date soon.
I would have done this much sooner had I known what I know now.
One thing I would want to change is to have the Field of View displayed in radians rather than degrees and as a fraction of pi with a fixed reducible denominator.
Well, I need start learning Jscript.
Thanks very much !
I would want to change is to have the Field of View displayed in radians rather than degrees and as a fraction of pi with a fixed reducible denominator.
... the current version from February lets you easily do this, starting line 382.
Here, it just prints "Enumerating ..." writes the -Tags file and ... nothing more.
Also, I don't have the possibility to select some exif-made columns, unless I am missing something.
Great upgrade !
Thankyou, your efforts are appreciated.
I had no trouble at all getting my normal photo columns working.
The new script did them out of the box. All I had to do was change the ExifTool.exe path and with the new configuration button, double \s were no longer needed.
I know I'll make some changes and also revisit my old buttons I used with the older versions of this script. But it made my morning that it worked so well out of the box !