Page 3 of 3

Re: Customized columns

Posted: 08 Dec 2014 01:08
by Houckster
quote="highend"]And, did it work?[/quote]

Not yet, unfortunately.

I downloaded the CLI file to a subdirectory of the directory I store XYplorer download files in: D:\Downloads\XYplorer\MediaInfo

I substituted this for the folder you had in your script. EXIFTOOL is in the root directory and I used the setting in your 3rd post on page 1.

The script now looks like this:

Code: Select all

$exifTool = "D:\Downloads\XYplorer\MediaInfo\exiv2-0.24-win\exiv2.exe";
 $fullDate = regexreplace(runret("$exifTool -q -g Exif.Image.DateTime -Pv ""<cc_item>"""), "\r?\n");
 return replace(gettoken($fullDate, 1, " "), ":", ".") . " " . gettoken($fullDate, 2, " ");


Nothing happens. I've probably done something wrong but I haven't found out what.

Thanks for your help.

Re: Customized columns

Posted: 10 Dec 2014 00:50
by highend
The script looks ok.

Use this version:

Code: Select all

$exifTool = "D:\Downloads\XYplorer\MediaInfo\exiv2-0.24-win\exiv2.exe";
 $fullDate = regexreplace(runret("$exifTool -q -g Exif.Image.DateTime -Pv ""<curitem>"""), "\r?\n");
 text replace(gettoken($fullDate, 1, " "), ":", ".") . " " . gettoken($fullDate, 2, " ");
Select one jpg picture and then execute the script. It get's the exif date for that file and displays it in a textbox.

Show me the output...

Re: Customized columns

Posted: 10 Dec 2014 07:30
by Houckster
I inserted the new code and it brings up an empty dialog box for each file including XMP files that I don't want. I had to close over 100 dialog boxes before I could regain control of XYplorer. What I'm looking for is a list of EXIF times displayed like other normal information rather than a dialog box for each file. Is that possible?

Re: Customized columns

Posted: 10 Dec 2014 09:19
by highend
This is a TEST script to see if you get an exif date out of ONE single file, it wasn't meant as a replacement for the column script...

Open a dos box and enter this:
Ofc you have to submit each line with the enter key...

Code: Select all

cd /d "D:\Downloads\XYplorer\MediaInfo\exiv2-0.24-win"
exiv2.exe -q -g Exif.Image.DateTime -Pv "<the path to a jpg file that contains an exif date>"
Show me a screenshot of this dos box window afterwards...

Re: Customized columns

Posted: 10 Dec 2014 15:30
by Houckster
OK, I worked with the script you sent me but the CD command didn't work. I modified the script to:

Code: Select all

cd /d "D:\Downloads\xyplorer\mediainfo
exiv2.exe -q -g Exif.Image.DateTime -Pv "G:\Digital Photos\Unfinished Photos\New Arrivals\EXIF Test File, 2014-1202 @ 131956.ARW"
As you see, I did get the EXIF date.

This is encouraging.

Re: Customized columns

Posted: 10 Dec 2014 23:03
by highend
First post on page 3:
$exifTool = "D:\Downloads\XYplorer\MediaInfo\exiv2-0.24-win\exiv2.exe";
And now you state that the real path is:
cd /d "D:\Downloads\xyplorer\mediainfo
How should the script work correctly if your path to exiv2.exe is wrong?...

Re: Customized columns

Posted: 11 Dec 2014 02:41
by Houckster
The script did work as it extracted the EXIF date.

exiv2.exe is in D:\Downloads\XYplorer\MediaInfo

Re: Customized columns

Posted: 11 Dec 2014 07:47
by highend
exiv2.exe is in D:\Downloads\XYplorer\MediaInfo
Exactly. And you've used $exifTool = "D:\Downloads\XYplorer\MediaInfo\exiv2-0.24-win\exiv2.exe"; in the custom column script^^

Re: Customized columns

Posted: 11 Dec 2014 16:30
by Houckster
I have changed the script to reflect the proper directory. It now gives the EXIF time in a dialog box for each file.

What's next?

Re: Customized columns

Posted: 11 Dec 2014 16:40
by highend
You just use the script from the first post on page 3 (it's your own posting) and use the correct path in the first line of it

Re: Customized columns

Posted: 12 Dec 2014 15:36
by Houckster
Works fine. Thanks so much!!!