Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getwintext help
#1
Hello, im trying to use this code to getwintext of a window then subtract part of it and OSD the part thats left but i have no idea how i would do this, this is all ive come up with so far and is far from working...thanks in advance.

Code:
Copy      Help
str s.getwintext(win("Quick Macros"))
str x = "Quick Macros - "
s-x
OnScreenDisplay s


A normal QM window says Quick Macros - File Name Here

I want it to subtract the Quick Macros - part and OSD the part thats left which would be the file name, hope this is possible Thanks!


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)