Our application presents different buttons to users when the Alt button is held down. I have tried using
object.Keys("[Hold]~"); followed by
object.Click(); on the next statement. Also tried using playback after recording, but the recorder does not seem to have recorded the Alt being held down, or, there is something else I am missing. Any ideas? Thanks.
I think I got it. It would be great if someone had a better suggestion, but this is what I came up with for now. And it seems to work. One major issue would be if the altButtonToClick does not appear and the ClickButton fails. The Alt button is never released in that case. Exception handling can catch it I guess.