watsonle Posted July 5, 2011 Share Posted July 5, 2011 Does anyone know if this tool can be used to access e.g. radio buttons or Tab buttons such as are presented in the class: SysTabControl 32?? If not is there any tool available to do this. I am trying to automate a applicaiton install and the tool works fine for the Button class abut when Radio buttons or check boxes are in the top portion of the form the tool will not provide the instance number. I attached a sample copy of one of the install steps. The info tool will not provide instance information for the box and two radio buttons. Thanks for any ideas!! Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 5, 2011 Moderators Share Posted July 5, 2011 watsonle,Welcome to the AutoIt forum. the tool will not provide the instance numberThen it is very likely that the controls in question are not created with the standard Windows API and so cannot be automated directly. So you may have to fall back on ControlClick with coordinates - and I know what a hit-and-miss affair that can be. But if you post what the Info tool tells you about the whole control (there was no attachment to your post as you indicated) we might be able to help a little more - no promises mind! M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
watsonle Posted July 5, 2011 Author Share Posted July 5, 2011 watsonle,Welcome to the AutoIt forum. Then it is very likely that the controls in question are not created with the standard Windows API and so cannot be automated directly. So you may have to fall back on ControlClick with coordinates - and I know what a hit-and-miss affair that can be. But if you post what the Info tool tells you about the whole control (there was no attachment to your post as you indicated) we might be able to help a little more - no promises mind! M23Just checking to see if my earlier reply went thru. Not quite sure if I did it correctly. Link to comment Share on other sites More sharing options...
watsonle Posted July 5, 2011 Author Share Posted July 5, 2011 watsonle,Welcome to the AutoIt forum. Then it is very likely that the controls in question are not created with the standard Windows API and so cannot be automated directly. So you may have to fall back on ControlClick with coordinates - and I know what a hit-and-miss affair that can be. But if you post what the Info tool tells you about the whole control (there was no attachment to your post as you indicated) we might be able to help a little more - no promises mind! M23Im guessing it didnt go thru so here it is again. In line 25 of the code which you can see I did a hit/miss to check the 'I accept the agreement' radio button and found that unsing instance 5 would check it. The data in the window Info tool came from dropping the curser onto the top half of the install window. If the finder tool is place on the back, next, cancel button is seems to report the correct instance but will not detect any data on the two radio buttons above. This worked for a few windows but then they became so complex that it was almost impossible to select the correct instance number. I guess I'm resigned at this point that Windows Info will not give me enough data to proceed with performing an automated install.Is there any other method available? Thanks Link to comment Share on other sites More sharing options...
Tvern Posted July 5, 2011 Share Posted July 5, 2011 I'm not sure if you have the edit button available to you yet, but if you do try to avoid double posts, by editing the last one. (also avoid quotes unless needed for context)I think you might be able to use to get the right control data. When you select a window, a list of controls is displayed which you can click through and if all goes when the corresponding control will be highlighted. Link to comment Share on other sites More sharing options...
watsonle Posted July 11, 2011 Author Share Posted July 11, 2011 I'm not sure if you have the edit button available to you yet, but if you do try to avoid double posts, by editing the last one. (also avoid quotes unless needed for context)I think you might be able to use to get the right control data. When you select a window, a list of controls is displayed which you can click through and if all goes when the corresponding control will be highlighted.Yes this is exactly what I needed. Thanks so much for the help. Impressive tool!! Link to comment Share on other sites More sharing options...
monoscout999 Posted July 11, 2011 Share Posted July 11, 2011 You write about some attachements and codes and i never see any of those. 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