Marcelo Posted January 11, 2008 Share Posted January 11, 2008 Hi people!! I need set a option in radio button when I start my browser. I'm starting my browser normally with script, but i don't know how I set option in radio button into to browser. Can anybody help me? Thanks in Advance! Marcelo Link to comment Share on other sites More sharing options...
Nahuel Posted January 11, 2008 Share Posted January 11, 2008 (edited) You mean... you havea GUI with radio buttons and you want one of them to be check by default? Then use: GUICtrlSetState ($radio, $GUI_CHECKED) -edit- I think I misunderstood what you meant by "my browser"... You want to check a radio button in a website? please try to be clear. Use: _IEFormElementRadioSelect() Edited January 11, 2008 by Nahuel Link to comment Share on other sites More sharing options...
Marcelo Posted January 11, 2008 Author Share Posted January 11, 2008 (edited) You mean... you havea GUI with radio buttons and you want one of them to be check by default? Then use: GUICtrlSetState ($radio, $GUI_CHECKED) -edit- I think I misunderstood what you meant by "my browser"... You want to check a radio button in a website? please try to be clear. Use: _IEFormElementRadioSelect() Yes, I want to check a radio button in a website. The code that I open my website is this: Run("c:\Program Files\Internet Explorer\IEXPLORE.EXE http:\\www.myurl.com") WinWaitActive("My WebSite Title - Microsoft Internet Explorer") Then.. my web site open a Activex window called "Autentication" And I need check the second option(not default) in the radio buttons group. And my option name is "File" .. how I to do this? Thanks! Edited January 11, 2008 by Marcelo Link to comment Share on other sites More sharing options...
Nahuel Posted January 12, 2008 Share Posted January 12, 2008 Use _IECreate() istead of Run(). This function will return an object variable you can work with. Check the example in the help file for _IEFormElementRadioSelect(). It's quite clear If you get stuck at something, just ask.And.. I'm not sure about the new authentication window... This has been asked 10000 times and I think there's a workaround. Try to search the forums. 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