Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting Text Color
#1
Hi,

I just found this cool Macro Tool and it seems it is exactly what I need.
My question is how can I get a text color from a listbox. I have a list of file names in a listbox, I want to click only on the text that is red. Can I do this?

Thanks in advance,
Nir
#2
I tried to use the properties avalible with accessible objects. Font color doesn't seem to be one of them.
If the font is of fixed hieght, you could scan the rows of the list looking for the color of the text using the pixel() function. It'll be ugly and probably unreliable though. Worth a shot.


Forum Jump:


Users browsing this thread: 1 Guest(s)