Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wait for Pressing onscreen buttons (Yes or No) - case....
#3
When the Yes/No dialog pops up from the app,

I want the user to be able to either hit F5 to activate the Yes (i.e. without actually mouse-clicking on the Yes button)

Code:
Copy      Help
wait 10 KF (VK_F5)    
Acc a=acc("Yes" "PUSHBUTTON" win("Commissure RadWhere" "#32770") "Button" "" 0x1 0 0 "" 20)
a.Mouse(1)

.....then wait for next screen and then execute rest of macro.

But what if the user decides instead to actually click on Yes

So either has to trigger the next part -

i.e. wait for either F5 or actually pressing Yes button

[this is similar to my other post| but slightly different.

Thanks again!!!!!!!

Stuart


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)