Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TS menus with trigger after the abbreviation is typed
#1
I would like TS Menus to be able to be triggered after the abbreviation is typed.
For me it is easier to remember to type the trigger after I have typed the abbreviation.

Here's how I think it could work:
- QM keep a buffer of the last X (5-20?) characters typed
- Allow for backspace to erase characters in the buffer as TS Menu currently does
- If a non-ascii key is pressed, erase the buffer (e.g. arrow keys, enter, Alt, Ctrl, maybe spacebar)
- When the hotkey trigger is received, search backwards through the buffer to find the first string at the end of the buffer that matches one of the abbreviations in the TS Menu file, remove the abbreviation, and perform the associated action.

Would this be hard to implement?
If it could be supported, my preferred TS Menu hotkey trigger sequence would be: space space
#2
Hello,

I was trialing the software and it looks very interesting. I am also very interested in this feature. Please let me know if you have any plans to add this to future versions.

Thanks!
#3
Possibly it will be in next QM.
Currently it also is possible, but need multiple TS menus. For example, if need 2 abbreviations "abc " and "def ":

T.S. Menu T.S. Menu a
Trigger Sa 0x3     Help - how to add the trigger to the macro
Code:
Copy      Help
/s/i
bc   :outp "text1"

T.S. Menu T.S. Menu d
Trigger Sd 0x3     Help - how to add the trigger to the macro
Code:
Copy      Help
/s/i
ef   :outp "text2"


Forum Jump:


Users browsing this thread: 1 Guest(s)