Date/time format options for tip: "Alternate folder structures on Import"

Status
Not open for further replies.

DawMatt

Member
Joined
Aug 4, 2008
Messages
70
Location
Wollongong, Australia
Lightroom Experience
Advanced
Hi,

I'm trying Mark's tip to adjust the folder structures available on import. Only problem is that I want to use a different folder structure, specifically:
2''8-12-Dec\2''8_12_12_Text
(I rename the text to something meaningful later - its just a reminder).

Does anyone know what the appropriate date/time format string would be? I'm trying:
"$$$/AgImportDialog/ShootArrangement_5/Template=%Y-%m/%Y_%m_%d_Text"
but don't know how to get the 3 letter month name in there. If anyone could share the complete set of format strings it might help others with their preferred date/time format string as well.

On a related matter, how can we find out what values are included in the full TranslatedStrings.txt file, and therefore other items that might be tweakable? I'm curious, but was hoping to avoid running a "strings" command on the executables as it would take a while to sort out the results.

Thanks,
Matt
 
Last edited by a moderator:
Matt,

Is 2''8-12-Dec the 12th day of December, or are you wanting both the month number and the month name? It might help to use an example that didn't have the same number for month and day. :-)

The three-letter month name is %b. See the table at the bottom of this page of Lua documentation.

There are at least 6294 customizable strings in Lightroom 2.1. You're on the right track -- run strings on all of the .lua files, and grep for '^\$\$\$/.*='.

If you spot anything particularly useful, let me know!
 
Hi,

[Note to self: switch on brain before providing examples of problems in posts.]

Sorry about that. YYYY-MM-MMM is the format I'm aiming for. The month listed twice may seem a bit overkill but I find it is just easier to quickly locate the folder I'm looking for.

Thanks for pointing out the formatting reference. I should be able to play with the date/time format strings by myself now.

Thanks,
Matt
 
Mark -

Thanks for the excellent find regarding the TranslatedStrings file. I'm having a problem getting this to work as I want, and wonder if you have any thoughts. Its really appreciated!

Basically, I want a set of folders with the name YYYY-MM and ALL the imported images from that month go in there. I created a TranslatedStrings.txt file like this:

"$$$/AgImportDialog/ShootArrangement_5/Template=%Y/%Y-%m
"$$$/AgImportDialog/ShootArrangement_5/Label=By Date: 2''9/2''9-12"

LR (2.2) picks it up and I see this new option in the Orgainize: dropdown -- but LR doesn't actually organize things this way! What it does instead is create folders like this:

2''8\Dec 12
2''8\Dec 14

It did not create a 2''8\2''8-12 folder at all, and it insists on creating individual folders for each day. This is exactly what I was hoping to avoid.

Any ideas?

Thanks in advance,

Marc
 
why are you'all doing all that &%#@* cussin' at each other??? :-)
 
why are you'all doing all that &%#@* cussin' at each other??? :-)

Do you think they need moderating???:lol::lol:
And so early in the year !!:shock::o
Oh what the @%$##
 
Thanks Mark -- that was just a typo in the post, yes there is a closing quote on the first line in my TranslatedString.txt file.

What's extra interesting (and vexing) is that now that I've been playing around with this file (and have probably Imported and Removed about 14 times this afternoon and evening), I now get into a situation where LR is not bringing up the Import dialog box at all! I have the option under the File menu "Import Photos From Device" and its not grayed out or disabled, but when I click it ... nothing. No Import dialog box pops up as expected, no error message, just silence. One time I thought it was due to me not having an open catalog, but that has not been consistent.

Anyone know under what circumstances LR would simply not show a dialog box when selecting File/Import Photos From Device?
 
Usually, it has to do with multiple monitors, and the dialog defaulting to a disconnected monitor, or hiding behind another window somewhere. Doesn't sound like the case here.
 
Just try moving the TranslatedStrings file aside and see if it'll reappear.
 
Hi Victoria -- yep, I tried that and to no avail. Rebooted and even re-installed LR. The problem went away for a while but has re-appeared. Does it have anything to do with LR not detecting a device (Windows found it) or anything like that?
 
Possible. Have you tried moving/deleting your preferences file Marc? That's more likely to do the trick.
 
Status
Not open for further replies.
Back
Top