Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FLOATING TOOLBAR
#3
TYVM :lol:


I'm trying to learn ACC command and is a little bit confused.

Here's the scenario: 11 buttons, 1-10 will either say on the screen "Open," "Closed," or not even visible, and button 11 says "Click Me."

I am getting no value using a.Value on buttons 1-10, I am however getting a value of "Click Me" on button 11.

What I need the macro to do is to continue the loop until it can find "Open" from 1-10 buttons and not even bother with button 11. Once the macro finds "Open," it will click the button, which I am able to do by the way, LOL.

At the moment, if buttons 1-10 is not visible, it clicks on button 11 Sad and it also clicks on visble button that says "Closed."

Using the "Info" button from "Find Accessible Object" the state of the "Open" buttons is "0x0 (normal)" and the state of the "Close" buttons is "0x1 (Unavailable)."

How do I tell the macro to continue looping until it finds the "Open" button with state as "0x0 (normal)?"

Oh God, I hope I made this clear, lmao.

Thanks!


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)