Checking A Radio Button

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
simonwilliams
Newbie
Posts: 19
Joined: Tue Feb 20, 2007 9:43 am

Checking A Radio Button

Post by simonwilliams » Wed Aug 06, 2008 4:48 pm

What is the best way to get a radio button checked?

Having searched on this forum I can't find anyway, I don't want to use mousemove as co-ordinates change on web pages.

I tried tabbing to the radio button & then Send>%SPACE% instead of press space as this doesn't exist but it doesn't activate the radio button???

Any help please?
Simon Williams

User avatar
Marcus Tettmar
Site Admin
Posts: 7391
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Aug 06, 2008 5:20 pm

I would expect Send>SPACE to work as most radio buttons and check boxes can be toggled with the space bar. So as long as you have tabbed to it and it is focus that should work. But confirm that it works manually first - not every radio box is created equal.

You may also be able to do it with the SetCheckBox function which also works for radio buttons.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts