I'd like to not have to worry about the resolution of the application.
I need to know if the button has the right text AND if the button is enabled.
Currently I'm waiting for the pixel color of some text to turn black indicating that the button is now active then I proceed with the macro.
The pixel color works great but is very dependant on resolution and position. I'm looking for a better solution that removes these dependancies.
Here's what I'm working with.
Button states--------Caption------Action
-------------------------------------------------------------
Disabled---------&Take Call------Wait for call to come in
Active------------&Take Call------Click and answer incoming call
Active------------&End Call-------Click to End call OR wait/run other tests
Any ideas would be greatly appreciated.
