Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
On Screen Display (OSD)
#1
if i use

Code:
Copy      Help
_s.getwintext(win("Internet Explorer"))
out _s



is it possible to grab only a certain part of the window text to out? like if i only wanted the Quick Macros from the window text instead of Quick Macros :: View topic - On Screen Display (OSD) - Microsoft Internet Explorer .?.? I wanted to grab just a certain part of the Window Text and then use it for an (OSD).
#2
any ideas?
#3
Use string functions, eg find(), get(), replacerx(). You will not find them in floating toolbar but will find in help.
#4
Cool i got it, but one last question... is there a way to insert the info it recieves into another macro or dialog... the only thing i know of to do is to "out" it into the qm output box.
#5
Depends on how these two functions are related. The most universal, although not always the best, way is to use a global variable, like

str+ g_s
g_s=_s

Another function:
str+ g_s
out g_s
#6
nvm ignore i got it thanks


Forum Jump:


Users browsing this thread: 1 Guest(s)