Re-Use a User-Date in User Defined Tool Topic is solved

How-to's and other software related queries

Moderator: abstr

Post Reply
OLLI_S
Posts: 30
Joined: Thu Aug 08, 2019 7:23 am

Re-Use a User-Date in User Defined Tool

Post by OLLI_S » Thu Aug 08, 2019 8:05 am

Hello,

I have created a User Defined Tool that creates a new email in Outlook and fills all fields of the mail (To, CC, Subject, Body) with data stored in the ToDoList.
I have now a button in the toolbar that creates the email.

In the command I also have a date prompt, that asks for a date and pastes it in the subject:

Code: Select all

$(userdate, var_date1, "Date prompt")
I want to re-use this variable a second time in my body, how can I perform this?

Best regards

OLLI

User avatar
abstr
Site Admin
Posts: 370
Joined: Sun Jul 28, 2019 12:22 pm

Re: Re-Use a User-Date in User Defined Tool

Post by abstr » Fri Aug 09, 2019 5:58 am

Just reference it as '$(var_date1)'

OLLI_S
Posts: 30
Joined: Thu Aug 08, 2019 7:23 am

Re: Re-Use a User-Date in User Defined Tool

Post by OLLI_S » Fri Aug 09, 2019 6:13 am

Hello Daniel,

thank you, this is working.

Under usability aspects: maybe you add the "Insert Variable" to the Popup-Menu in the User-Defined-Tool-Editor?
So users can select the menu entry and just need to replace the variable name.

Best regards

OLLI

User avatar
abstr
Site Admin
Posts: 370
Joined: Sun Jul 28, 2019 12:22 pm

Re: Re-Use a User-Date in User Defined Tool

Post by abstr » Fri Aug 09, 2019 10:10 am

OLLI_S wrote:
Fri Aug 09, 2019 6:13 am
maybe you add the "Insert Variable" to the Popup-Menu in the User-Defined-Tool-Editor?
My preference would be to add to the menu only those user-variables already defined so there would be no confusion about what 'Insert Variable' might mean.

ie. For those of a programming leaning they might expect to be able to assign a value to it and then do some sort of scripting, whereas we're only talking about re-referencing an existing variable.

Good idea, I'll add it to 7.3!

Post Reply