Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get window text
#1
I'm currently struck at my quick macro programming. Cry Can anyone help me with this??

How to get the text in the listbox of a window?
If possible, how to get the first line of the text only?
#2
Following example dislpays text of first item ("Left click") in QM "Mouse" dialog.

Code:
Copy      Help
[color=blue]str [/color]s
[color=blue]int [/color]hwnd=[color=blue]id[/color](3 "Mouse")[color=green];; get handle of listbox in "Mouse" dialog[/color]
control.LB_GetItemText(hwnd 0 s)
[color=blue]out [/color]s
#3
I don't understand the what the third line of the code means.
Can i just use getwintext instead of GetItemText?
Thanks for the help Smile


Forum Jump:


Users browsing this thread: 1 Guest(s)