05-16-2006, 07:02 PM
Remove the text
Acc a
a=acc("" "STATICTEXT" "My stuff" "Static" "" 0x1001)
If then finds other object, try to use coordinates, or id (select id=... item in Find Accessible Object dialog, Class dropdown).
Then get text into a variable. Then repeatedly get text into another variable and compare. Break the loop when differs.
Acc a
a=acc("" "STATICTEXT" "My stuff" "Static" "" 0x1001)
If then finds other object, try to use coordinates, or id (select id=... item in Find Accessible Object dialog, Class dropdown).
Then get text into a variable. Then repeatedly get text into another variable and compare. Break the loop when differs.