Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
After setsel - how to leave the new text selected
#3
Hi, I tried this method of yours to leave the text range selected after I did some processing on it. (Actually it traces backwards to reconstitute the original selection.) It works, but it is a bit slow. Anything faster?

TIA

- avi



Gintaras Wrote:Macro Macro1269
Code:
Copy      Help
str s.getsel
s.ucase
s.setsel

;this code makes selection
spe
key+ S
BSTR b=s
rep(b.len) key L
key- S
spe -1


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)