Kinook Software Forum

Go Back   Kinook Software Forum > Ultra Recall > [UR] Suggestions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-05-2009, 07:15 AM
mikeg mikeg is online now
Registered User
 
Join Date: 09-19-2007
Posts: 106
Lightbulb Substitution Tokens

Quote:
Originally posted by nil
http://www.kinook.com/Forum/showthre...?threadid=2144

4. Dynamic Item titles using either Linked attributes, or a custom attribute values, similar to the contact object.

4a. A way to automatically set the title of the object to the current date.

5. Dynamic Templates: Integration of some kind of scripting, or even variable substitution, allowing for instance, $DATE$ within a template to automatically be set to the current date.
With UR 4 released and the possibility of new features reopened, I'd like to revive this suggestion. I could swear I made a similar suggestion, but can't find it. Anyway I think all of the items above are related and call for variables or tokens that will automatically be replaced with a specific value when used in an item or template. They could be edited inline the same way hyperlinks are edited.

We could start off with a few basic substitution tokens such as @@DATE_DD@@ (or any token identifier that would not be mistaken for user data). This, for example, could be placed in a journal entry template's item title attribute to finally get automatic day of month. Another example: @@ITEM_TITLE@@ which could be placed in the Text item template to get the title to automatically appear in the upper left of every text item. Yes, it's redundant, but I often enter this manually so I don't have to keep glancing over at the tree to verify which item I'm working in.

Substitution tokens is one my top remaining wishes for UR!
Reply With Quote
  #2  
Old 09-05-2009, 07:26 AM
$bill $bill is online now
Registered User
 
Join Date: 09-14-2006
Posts: 210
Re: Substitution Tokens

Quote:
Originally posted by mikeg
[a token identifier] could be placed in a journal entry template's item title attribute to finally get automatic day of month.
Although not implemented using your suggested token substitution method, a mechanism for automatic day-of-the-month in a template's title attribute is already present.

http://www.kinook.com/UltraRecall/Ma...tem_titles.htm

Create a new template Journal Entry, set its Title Expression to Date Created.

I would like to see further expansion of these calculated fields and see the utility of using a token identifier to insert the value of an attribute into a document.
Reply With Quote
  #3  
Old 09-07-2009, 08:05 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Custom item titles based on other attributes values and automatic titling of an item to the current date is supported as mentioned by $bill.

Another way to title the item with the current date is via [i]Edit | Insert Date+Time[i] (Alt+Z) in the tree (use Tools | Options | Miscellaneous | Insert Date/Time As to control the format), or after inserting an item use Item | Rename To | Date.

The variable substitution of attributes in the template text is a good idea which we'll add to the request list (seems to have been overlooked when first suggested by nil).
Reply With Quote
  #4  
Old 09-11-2009, 10:39 PM
wordmuse wordmuse is online now
Registered User
 
Join Date: 10-11-2006
Posts: 482
If I can add a wrinkle to this - if there was a way to make the first line before a paragraph break be the title of the item, that would be very cool for some applications.

- Bal
Reply With Quote
  #5  
Old 10-12-2009, 05:40 PM
mikeg mikeg is online now
Registered User
 
Join Date: 09-19-2007
Posts: 106
Thanks $bill and Kinook. I hadn't yet discovered or explored Attributes and Title Expressions or even tried inserting a new child item using Insert Date and Time from the menu. I had tried using ALT-Z to insert the date and time in an item title, but that just kicks you out of title edit mode.

Using Date Created in the Title Expression of the Journal Entry works like a charm. Amazing to see all the power buried inside Ultra Recall. Still trying to understand the instructions for changing the date format, but I'm sure it'll come after a little experimentation...
Reply With Quote
  #6  
Old 05-06-2010, 06:32 AM
mikeg mikeg is online now
Registered User
 
Join Date: 09-19-2007
Posts: 106
Quote:
Originally posted by kinook
The variable substitution of attributes in the template text is a good idea which we'll add to the request list... [/B]
Excited about this one. I'm hoping it will finally allow me to include item title in the template as the first line of every text item. Will variable substitution support basic expressions and/or formatting attributes? That would be truly powerful, but perhaps a lot of work to implement.

For now I'm mainly focused on using it to automate steps I do manually for virtually every text item. In addition to copying item title to the first line, I set it to my Heading style, then add a couple blank lines in normal style. At that point, I can finally start entering notes.

P.S. I know I can include blank lines in the template now. Just wanted to describe all the steps...

Last edited by mikeg; 05-06-2010 at 07:00 AM.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 03:48 AM.


Copyright © 1999-2023 Kinook Software, Inc.