PDA

View Full Version : Automatically populate a "Day" Attribute


kb5cth
10-18-2016, 03:01 PM
In a Journal I'm establishing, I'd like to denote day of the week. Much like date and time, is there a way to auto-populate a "day of the week" attribute? Any way of making computed attributes so I could try to populate it myself?

Bill L

kinook
10-18-2016, 03:18 PM
Not as a separate attribute, but you could include the weekday in the custom title for a template item. See the notes on 'Journal item template' toward the end of

http://www.kinook.com/UltraRecall/Manual/custom_item_titles.htm

and the weekday formatting codes at

http://www.kinook.com/UltraRecall/Manual/option_miscdialog.htm

kb5cth
10-19-2016, 12:09 PM
Along those lines, is there any way to have the tree sort by date? I told it to sort my journal entries, and now I have all 1s grouped together, all 2s grouped together, etc.

I thought I'd be smart, so I changed the date format to YYYYMMDD (all numeric), but set that way, the title expression wouldn't concatenate any text after the date in this format. No matter what I tried, it only showed the numeric.

I'm tempted to disable the sort alphabetically, export it to excel, sort, then re-import it sorted properly. This seems quite a "work around" for something that ought to be handled straightforward in the software.

**I found reference to various registry hacks to accomplish this, but I use the program in portable mode. Is there a way to simulate those registry changes without modifying the registry of the machine I happen to be using (like my workplace)?

Bill

kinook
10-20-2016, 09:27 AM
See http://www.kinook.com/Forum/showthread.php?t=4652

The same setting can be defined in portable mode by adding

SortDateNumericInTree_INT=<value>

to UltraRecall.ini under the Options section.

kb5cth
10-20-2016, 12:02 PM
Are there any other such "tweaks" that mimic the registry changes? If so, where are they listed?

Bill

kinook
10-20-2016, 12:21 PM
Tweaks that aren't configured via Tools | Options are described at
http://kinook.com/Forum/showthread.php?t=5097

For the portable version, the numeric and on/off options would have _INT suffixed to the name of the option setting.

kb5cth
10-20-2016, 12:43 PM
Tell me if I have it, and if so, which iteration:

Say I want to enable "DateTruncateDelimiters" using a comma. Would I put DateTruncateDelimiters_INT=, in the INI file? Or

EnableDateTruncateDelimiters_INT=, or

DateTruncateDelimiters_INT="," or

EnableDateTruncateDelimiters_INT=","

??

kinook
10-20-2016, 01:22 PM
It's a string value, so it wouldn't have _INT suffixed.

DateTruncateDelimiters=,

kb5cth
10-20-2016, 02:57 PM
There it is! Thanks for the help.

And Yes/No or True/False are noted _INT=(1 or 0)?

kinook
10-20-2016, 03:32 PM
That's correct.