quicktext icon indicating copy to clipboard operation
quicktext copied to clipboard

Feature request: Dynamic menu labels

Open timesselens opened this issue 4 years ago • 4 comments

evaluate the title of the menu item trough the same engine, so "Hello [[FROM=firstname]]" or "[[SCRIPT...]]" can be used as menuitem names.

timesselens avatar Sep 13 '20 12:09 timesselens

This would need a complex update-menu-item-algorithm. Each new or removed recipient, a changed from address, added or removed attachments, ... Even changed time, date, clipboard, file content or url content has to be "tracked".

This could be solved by

  • only evaluating some of the available tags. (from and to are good tags to start with; probably there are events for changed recipients)
  • update the menu entries periodically (each 10 seconds / each minute).
  • update the menu entries, when the user tries to open the menu. (the first level entries could not have variables then)

As a workaround I would name the menu entries as they were addressed to John Doe, Jane Doe - in your case Piet Pietersen:

  • Hello John,
  • Dear Mr. John,
  • Dear Ms. Jane

SamuelPlentz avatar Oct 17 '20 12:10 SamuelPlentz

In general, there will be no feaures added to QuickText, before the transition to MailExtension without using Experiments is done. If we invest time now adding something the legacy way, it is not guaranteed to get it done in the pure MailExtension as well. And then that time will be wasted. So the next steps are to complete the update steps.

jobisoft avatar Oct 17 '20 12:10 jobisoft

I see, thank you for looking into this and providing more information. Also in agreement on the MailExtension dependency.

timesselens avatar Oct 18 '20 18:10 timesselens

This is how I have it set up, which is totally fine for me (I only need to adjust the greeting if the email goes to more than one person, but they are usually in CC):

image

And then the template like:

Hey [[TO=firstname]],
[[CURSOR]]

simonschaufi avatar May 22 '22 19:05 simonschaufi