Jump to content

Recommended Posts

Posted

Hi all,

Here is my situation:

I want to select a radio button in an application but unfortunately I can't tab my way to it. Before I use the last resort, which is to use the mouse cursor, I'm wondering if there's another way to get to this button.

I noticed that using Window Info, it can detect that particular radio button:

Posted Image

You can see under Basic Control Info that the class is 'Button' and the Instance is '6'. Is there any way to use this?

Thanks for any ideas,

czhe

Posted (edited)

Maybe one of these will do it.

ControlCommand("Benchmark Settings", "", "Button6", "Check", "")

ControlClick("Benchmark Settings", "", "Button6")

Edited by Pain
Posted (edited)

You can see under Basic Control Info that the class is 'Button' and the Instance is '6'. Is there any way to use this?

If you want to work on a control, the 'Control' or 'Summary' tab would be much more useful than the 'Window' tab you showed. The ClassNameNN "Button6", and the advanced spec "[CLASS:Button; Instance:6]" would be displayed for you there.

:mellow:

Edited by PsaltyDS
Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...