Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Search and Replace
#1
Is there an example of QM program using Search and Replace that is not dependent upon using the search and replace inside Word, Access etc etc.
#2
To make this more specific, I wish to write a way to find to a specific string <<**>> and then to position the cursor after the <<**>> to paste a string
#3
I tried
str s="<<**>>"
s.getwintext
#4
With each program would need different code. Not simple. Not with all programs possible.
A more universal way is to select all text (Ctrl+A), get into a variable, modify the text with QM string functions, then paste all modified text. Function Replace() does it.
Macro Macro1703
Code:
Copy      Help
;Replace all "Mart" to "April" in active window
key Ca
Replace "Mart" "April" 0 1 1
#5
I simply need to place a cursor after <<**>> which is a place holder. Your system will not work to do this. As always thank you for your very quick reply.
#6
Quick Keys Could easily do these functions within Eudora. I am looking to find a good replacement for Quick Keys that works well in Windows 7.
#7
Can you post here your Quick Keys macro? Maybe we can convert it to QM.


Forum Jump:


Users browsing this thread: 1 Guest(s)