Re: selectitems usage for looping through the selected filel
Posted: 09 Jan 2012 12:08
But this command works on all selected files at once, so you should not have to use it too often.
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
That's very true... I guess I could cut the script into two parts: one to set the exif data and secondly to copy exif date to filedate?admin wrote:But this command works on all selected files at once, so you should not have to use it too often.
scribbly wrote:Code: Select all
focus; END (<curitem>=="", "Select one file to compare with"); $source= <curitem>; focus pi; $pane2files = get("SelectedItemsPathNames", "|"); $destination = ""; foreach($token,$pane2files,"|") { $destination = $destination . quote($token); } $items= getinfo ("CountItems"); END ($items==0); run """C:\Program Files (x86)\ExifTool\exiftool.exe"" -TagsFromFile ""$source"" -GPS:All -DateTimeOriginal -DateTimeDigitized $destination -v2",,1; #1074; // Set Modified date to DateTimeOriginal
It's OK: that's not why I quoted it, just putting it into context. There's always more than one way to skin the catadmin wrote:Yes, I'd think so. ( I have no time now to really study your script. )
Code: Select all
#1074; Code: Select all
$success = #1074;admin wrote:No.