czhe Posted March 11, 2010 Share Posted March 11, 2010 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: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 Link to comment Share on other sites More sharing options...
Pain Posted March 11, 2010 Share Posted March 11, 2010 (edited) Maybe one of these will do it. ControlCommand("Benchmark Settings", "", "Button6", "Check", "") ControlClick("Benchmark Settings", "", "Button6") Edited March 11, 2010 by Pain Link to comment Share on other sites More sharing options...
PsaltyDS Posted March 11, 2010 Share Posted March 11, 2010 (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. Edited March 11, 2010 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now