Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use QM code to replace in QM editing area
#1
Hello, I want to create an AutoText. When I type cs and press Enter, it will replace all $cel with $sel in the QM editing area of ​​the currently item .

I can use the search replacement panel to achieve the above goals, but it is more convenient to use QM code + AutoText, thank you in advance.


Autotext Autotext1
Trigger $t     Help - how to add the trigger to the macro
Code:
Copy      Help
/b/i/c/m
cs :sub.Sub1 ;;replace $cel to $sel


#sub Sub1 m

;Example: case "$cel_$inp_Name$$"
;
;QM code:


Messages In This Thread
Use QM code to replace in QM editing area - by win - 04-09-2019, 11:43 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)