Jump to content

Radio Button Checked in Seperate Window

Recommended Posts


I have created two AutoIt files for the following reasons. The first file will take data from excel file and do a search in internet explorer causing a pop up window. This window pauses the script that executed the command. I created a second script to manipulate data in the pop up window. Both of these scripts work fine. I created a GUI with 10 radio buttons, and an drag and drop input to allow me to choose the correct instance of IE to open and manipulate. The GUI works fine on my main script. My problem is trying to access which radio button is checked on my second script. I have successfully accessed the input text file, but it seems with GUICtrlGetState or GUICtrlRead you need a control ID where the script has generated the GUI. In my case the script hasn't generated the GUI and I just need to see if a button is checked. I used AutoIT Window Tool to get the Control ID but nothing happens, because I'm pretty sure I'm not telling AutoIT which window to search for. I'm sure this is very simple, and am missing something, any suggestions?

Link to post
Share on other sites

I'm not sure if you can use guictrlread to retreive the data you need, but I used the control functions(In my test I used a edit box and the function controlgettext).

I can't do much if I can't see the source.

There are 10 types of people in this world. Those that understand binary, and those that do not

Link to post
Share on other sites

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...