| 1. |
Solve : Clicking a radiobutton (checkbox) froma program? |
|
Answer» im trying to automate a program but i get stuck at a check box screen. is there anyway to click a certain button using bat SCRIPT or vbs? dont know if that code below will help but thats what the error file is saying..button 61 is the ONE i want to choose. im trying to automate a program but i get stuck at a check box screen. is there anyway to click a certain button using bat script or vbs? dont know if that code below will help but thats what the error file is saying..button 61 is the one i want to choose. What program? For a web based application, you can create an instance of a browser, navigate to the page and script any actions (radio buttons, check boxes, text box input etc) using VBScript. You will need to do some research into the page structure to get the control names to use in your script. For a local Windows application you can use the VBScript sendkeys method to mimic a user at the keyboard. The script using the sendkeys method runs external to your application but becomes problematic if your application loses FOCUS or is in anyway interrupted. You might want to try a 3rd party program like AutoIt. Good luck. |
|