03-21-2015, 05:28 PM
Hi Gintaras,
I have been successfully using the codes mentioned in this post for a very long time now.
However, some text and elements changed in this website recently and I don't seem to get things working.
The ones in green (accessible objects) was working perfectly previously but it does not now.
Instead, I have used htm objects now and it finds the checkbox image perfectly.
So, how do I substitute the .webattribute part?
Macro VISTA Order Amends - L405
I have been successfully using the codes mentioned in this post for a very long time now.
However, some text and elements changed in this website recently and I don't seem to get things working.
The ones in green (accessible objects) was working perfectly previously but it does not now.
Instead, I have used htm objects now and it finds the checkbox image perfectly.
So, how do I substitute the .webattribute part?
Macro VISTA Order Amends - L405
,if veneer="Grand Black Wood"
,,;Acc a1.Find(w4 "TEXT" "*088EH*" "state=0x40 0x20000040" 0x3015 5 0 "parent previous first2")
,,Htm e10=htm("TABLE" "*088EH*" "" w4 "0" 34 0x21 5 3)
,,
,,wait 1
,,;varTemp1=a1.WebAttribute("src")
,,varTemp1=e10.Attribute("src") ;;**************THIS GIVES MISMATCH************
,,if matchw(varTemp1 "*+config-selected.gif")=0
,,,;a1.DoDefaultAction
,,,e10.Click
,,,;mes F"Venner {veneer} is chosen" ""
,,,wait 4
,,,goto changingAlloyWheels
,,else if matchw(varTemp1 "*+config-selected.gif")=1
,,,;mes F"Venner {veneer} already chosen" ""
,,,;wait 2
,,,goto changingAlloyWheels
Best Regards,
Philip
Philip