Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get text with a specific color (user functions) from the QM code editor
#10
not work

Macro Getout2
Code:
Copy      Help
0.5
int h=id(2201 _hwndqm)
int lens=SendMessage(h SCI.SCI_GETTEXTLENGTH 0 0)
str s.fix(SendMessage(h SCI.SCI_GETTEXT lens+1 s.all(lens)))

ARRAY(str) a; findrx(s "^<[^>]+>(.+)$" 0 4|8 a)
for _i 0 a.len
,str n=a[1 _i].trim
,_s.getmacro(n)
,_s.setfile(F"$desktop$\{n}.txt")


Messages In This Thread
RE: Get text with a specific color (user functions) from the QM code editor - by Davider - 04-05-2025, 02:50 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)