Page 1 of 1
Cool Trick to Timestamp Several Pics from EXIF.
Posted: 27 Oct 2010 17:21
by SkyFrontier
When trying to backup ("backup to") pictures from a virtual folder "My Bluetooth\All Bluetooth Neighborhood\CAM\OBEX File Transfer\Memory Stick\DCIM\100MSDCF" (started by the btooth app), XY just created a BTN%Copy%2 folder and no way to get the pics backup-ed.
After playing around I workaround'ed this using the following trick:
1) COPY the pictures into XY;
2) make sure that there are only those EXIF'ed pictures listed in pane;
3) enter this in
address bar:
Code: Select all
::timestamp , formatdate("<dateexif>", , "n", ); focus; sendkeys"{down}"; focus a; sendkeys"{enter}";
4) when the operation reaches the end of the list and the window starts to blink, press ESC to terminate the script.
5) voilĂ - your pictures now will have timestamps reflecting the date they were shoot.
Kool, as I said.

Re: Cool Trick to Timestamp Several Pics from EXIF.
Posted: 27 Oct 2010 19:55
by admin
Hmm, could you explain what you try to achieve with this? And especially what this part is supposed to do:
And what is a BTN%Copy%2 folder?
Re: Cool Trick to Timestamp Several Pics from EXIF.
Posted: 27 Oct 2010 20:19
by SkyFrontier
BUG! (innocuous on this version, as far as I can tell) ...I realized that the "n" argument has nothing to do here... (working on a non-address bar version; it screws stuff there, though)
---
BTN%Copy%2 folder is the only thing that XY creates when trying to "backup to" > dragging pics from that (WE) "My Bluetooth\All Bluetooth Neighborhood\CAM\OBEX File Transfer\Memory Stick\DCIM\100MSDCF" window into XY, instead of correctly copying (preserving original timestamps/"backup here" feature). Using "Copy here" works ok (it seems that XY calls for "Windows copy", and this may explain why one works and other fails).
Re: Cool Trick to Timestamp Several Pics from EXIF.
Posted: 27 Oct 2010 20:23
by admin
SkyFrontier wrote:BUG! (innocuous on this version, as far as I can tell) ...I realized that the "n" argument has nothing to do here... (working on a non-address bar version; it screws stuff there, though)
---
BTN%Copy%2 folder is the only thing that XY creates when trying to "backup to" > dragging pics from that (WE) "My Bluetooth\All Bluetooth Neighborhood\CAM\OBEX File Transfer\Memory Stick\DCIM\100MSDCF" window into XY, instead of correctly copying (preserving original timestamps/"backup here" feature). Using "Copy here" works ok (it seems that XY calls for "Windows copy", and this may explain why one works and other fails).
My Bluetooth is not a drive, but a shell name space extension I assume?
FYI, there is an EXIF date stamping command built in: Miscellaneous / Timestamp / Set Modified Date to EXIF Date. Sets the Modified date of each selected image file (JPEG, TIFF) to its EXIF date.
Re: Cool Trick to Timestamp Several Pics from EXIF.
Posted: 27 Oct 2010 20:45
by SkyFrontier
admin wrote:-My Bluetooth is not a drive, but a shell name space extension I assume?
It seems to be - can't find it anywhere...
---
admin wrote:FYI, there is an EXIF date stamping command built in: Miscellaneous / Timestamp / Set Modified Date to EXIF Date. Sets the Modified date of each selected image file (JPEG, TIFF) to its EXIF date.
Oh yes, and I used it:
Code: Select all
msg "Use this on a folder containing just EXIFed pictures.<crlf> It will auto apply EXIF timestamps into all files automatically, using their individual EXIF as source.<crlf> Remember: press ESC when all done (end of the list, blinking screen).<crlf> All set and ready? Please click OK to continue.", 1, ;
copytext "#1074; #1073; focus; sendkeys'{down}'; focus a; sendkeys'{enter}'";
focus a;
sendkeys "^{v}";
sendkeys"{enter}";
The problem was the confirmation dialogs at the end of each operation...
---
Using this brings another sort of trouble: quoting and "invalid date" messages of any flavors...
Code: Select all
msg "Use this on a folder containing just EXIFed pictures.<crlf> It will auto apply EXIF timestamps into all files automatically, using their individual EXIF as source.<crlf> Remember: press ESC when all done (end of the list, blinking screen).<crlf> All set and ready? Please click OK to continue.", 1, ;
copytext "$a = formatdate(<dateexif yyyy-mm-dd hh:nn:ss>); timestamp , $a; focus; sendkeys'{down}'; focus a; sendkeys'{enter}';";
focus a;
// regexreplace("$a", "formatdate('<dateexif yyyy-mm-dd hh:nn:ss>')");
sendkeys"^{v}";
sendkeys"{enter}";
Now trying to circumvent this with regexreplace... (yes, I'd like to stay focused on this "sendkeys/address bar" method - trying to get the most out of it when playing with several files, which I'm yet to master).
Re: Cool Trick to Timestamp Several Pics from EXIF.
Posted: 27 Oct 2010 21:47
by Kucera
admin wrote:
FYI, there is an EXIF date stamping command built in: Miscellaneous / Timestamp / Set Modified Date to EXIF Date. Sets the Modified date of each selected image file (JPEG, TIFF) to its EXIF date.
Goodness - where do I find "Miscellaneous" ?!? Am I going blind or did I mess up someplace in configuration?
Please help me out of my misery...
Regards Emil
Re: Cool Trick to Timestamp Several Pics from EXIF.
Posted: 27 Oct 2010 21:53
by Stefan
Kucera wrote:where do I find "Miscellaneous" ?!?

Only in "Tools > Customize Keyboard Shortcuts > Cat.: Misc".
To use this assign an key-combination or use the "#1073" with an script.
Re: Cool Trick to Timestamp Several Pics from EXIF.
Posted: 27 Oct 2010 22:45
by Kucera
Thanks very much. All the capabilities, and so little time to explore them all - to use them to save more time... you get the picture.
Regards Emil
Re: Cool Trick to Timestamp Several Pics from EXIF.
Posted: 28 Oct 2010 09:01
by admin
Kucera wrote:admin wrote:
FYI, there is an EXIF date stamping command built in: Miscellaneous / Timestamp / Set Modified Date to EXIF Date. Sets the Modified date of each selected image file (JPEG, TIFF) to its EXIF date.
Goodness - where do I find "Miscellaneous" ?!? Am I going blind or did I mess up someplace in configuration?
Please help me out of my misery...
Regards Emil
Did you know that there is a Help file?

Re: Cool Trick to Timestamp Several Pics from EXIF.
Posted: 28 Oct 2010 15:40
by Kucera
admin wrote:
Did you know that there is a Help file?

Would you believe, it never occurred to me to look there? Yet I trotted through the menu bars etc. looking for misc., and did not follow down deep enough, obviously.

That smiley is nowhere near red enough to show how red in the face I am!
Regards Emil
Re: Cool Trick to Timestamp Several Pics from EXIF.
Posted: 28 Oct 2010 19:10
by SkyFrontier
Any help on this, please?
Code: Select all
::timestamp , formatdate("<dateexif>", , "n", ); focus; sendkeys"{down}"; focus a; sendkeys"{enter}";
It's supposed to be applied on all (assumed there's only) EXIF'ed pictures on a list and I've tried everything. No go.
The basic idea is:
Code: Select all
//Using this brings another sort of trouble: quoting and "invalid date" messages of any flavors...
//Code:
msg "Use this on a folder containing just EXIFed pictures.<crlf> It will auto apply EXIF timestamps into all files automatically, using their individual EXIF as source.<crlf> Remember: press ESC when all done (end of the list, blinking screen).<crlf> All set and ready? Please click OK to continue.", 1, ;
copytext "$a = formatdate(<dateexif yyyy-mm-dd hh:nn:ss>); timestamp , $a; focus; sendkeys'{down}'; focus a; sendkeys'{enter}';";
focus a;
// regexreplace("$a", "formatdate('<dateexif yyyy-mm-dd hh:nn:ss>')");
sendkeys"^{v}";
sendkeys"{enter}";
I'd like to preserve the sendkeys/address bar idea, but I'm open to other method if any.
Thanks.
Re: Cool Trick to Timestamp Several Pics from EXIF.
Posted: 28 Oct 2010 19:36
by admin
SkyFrontier wrote:Any help on this, please?
Code: Select all
::timestamp , formatdate("<dateexif>", , "n", ); focus; sendkeys"{down}"; focus a; sendkeys"{enter}";
It's supposed to be applied on all (assumed there's only) EXIF'ed pictures on a list and I've tried everything. No go.
The basic idea is:
Code: Select all
//Using this brings another sort of trouble: quoting and "invalid date" messages of any flavors...
//Code:
msg "Use this on a folder containing just EXIFed pictures.<crlf> It will auto apply EXIF timestamps into all files automatically, using their individual EXIF as source.<crlf> Remember: press ESC when all done (end of the list, blinking screen).<crlf> All set and ready? Please click OK to continue.", 1, ;
copytext "$a = formatdate(<dateexif yyyy-mm-dd hh:nn:ss>); timestamp , $a; focus; sendkeys'{down}'; focus a; sendkeys'{enter}';";
focus a;
// regexreplace("$a", "formatdate('<dateexif yyyy-mm-dd hh:nn:ss>')");
sendkeys"^{v}";
sendkeys"{enter}";
I'd like to preserve the sendkeys/address bar idea, but I'm open to other method if any.
Thanks.
sendkeys is officially not existing, it's so evil that I even refuse any help here.

Re: Cool Trick to Timestamp Several Pics from EXIF.
Posted: 28 Oct 2010 20:01
by SkyFrontier
admin wrote:sendkeys is officially not existing, it's so evil that I even refuse any help here.

Ow, please, don't do that...
(ROTFL)
Well... I do like its evilness... soooooo bad...
Thank you for... the... bad news..., Don!
