WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: mjwillyone on September 24, 2013, 05:04:29 PM

Title: Radio button - how to select
Post by: mjwillyone on September 24, 2013, 05:04:29 PM
Friends,

With the process of using the SendKeysTo command with multiple {TAB} commands I am able to move through radio buttons on a program's window. However, while I have moved to the correct selection I have not found a way to actually "click" that button to move from the currently selected buttos..   I would rather not use mouse coordinates to do the work.   Using the {ENTER} command with a SendKeysTo command does not do anything but select the button that has been filled in all along.

Can you help?   The window's title is "Create Invoice"

Thank you,
Mike
Title: Re: Radio button - how to select
Post by: JTaylor on September 24, 2013, 05:23:58 PM
When you are on the right button try using {SPACE}.

Jim
Title: Re: Radio button - how to select
Post by: Deana on September 24, 2013, 06:11:31 PM
Yes the space bar is often used to select a radio button control.

Have you considered using the RoboScripter to help write the code to select the radio button? http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/tsleft.web+Tutorials+A~look~at~RoboScripter.txt
Title: Re: Radio button - how to select
Post by: mjwillyone on September 25, 2013, 06:01:09 AM
I tried everything BUT the space bar!  ha ha    I will try that as soon as I get to that computer!  Thanks!

I have not tried using Roboscript.  That would be an idea.   Thank you for it!

Thank you so much, both of you.  I really appreciate it.

Mike