Monday, November 24, 2008

How to get the font color of an item in a WebList ?

set Web_list_Items= Browser("abc").Page("abc").WebList("abc").Object.all.tags("option")
For each element in Web_list_Items
Set style = element.currentstyle
Item_text_color=style.Color
Item_text=element.text
msgbox Item_text_color
msgbox Item_text
Next

0 comments: