Customized columns

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Houckster
Posts: 8
Joined: 04 Nov 2014 20:35

Re: Customized columns

Post 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.

highend
Posts: 14578
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Customized columns

Post 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...
One of my scripts helped you out? Please donate via Paypal

Houckster
Posts: 8
Joined: 04 Nov 2014 20:35

Re: Customized columns

Post 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?

highend
Posts: 14578
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Customized columns

Post 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...
One of my scripts helped you out? Please donate via Paypal

Houckster
Posts: 8
Joined: 04 Nov 2014 20:35

Re: Customized columns

Post 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.
Attachments
EXIF Date.jpg
EXIF Date.jpg (44.24 KiB) Viewed 1841 times

highend
Posts: 14578
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Customized columns

Post 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?...
One of my scripts helped you out? Please donate via Paypal

Houckster
Posts: 8
Joined: 04 Nov 2014 20:35

Re: Customized columns

Post by Houckster »

The script did work as it extracted the EXIF date.

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

highend
Posts: 14578
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Customized columns

Post 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^^
One of my scripts helped you out? Please donate via Paypal

Houckster
Posts: 8
Joined: 04 Nov 2014 20:35

Re: Customized columns

Post 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?

highend
Posts: 14578
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Customized columns

Post 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
One of my scripts helped you out? Please donate via Paypal

Houckster
Posts: 8
Joined: 04 Nov 2014 20:35

Re: Customized columns

Post by Houckster »

Works fine. Thanks so much!!!

Post Reply