rw0011 Posted January 23, 2012 Share Posted January 23, 2012 First question - are the GUI functions (i.e. GUICtrlRead) only used for GUI's you create with AutoIt? Or can they be used with other software that other people have made? Basically I'm trying to automate a test precedure and test wether drop down boxes, check boxes, etc.. will save properly after being changed. So, is there a way to read values or the status of these drop downs etc.? I've read about this a little and have used the Info Tool, but, it doesn't give a 'control ID' and the 'handle' always changes. Thanks for any help, Rick Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 23, 2012 Moderators Share Posted January 23, 2012 rw0011,Welcome to the AutoIt forum. The native GUICtrl* functions only work on controls created by the native GUICtrlCreate* functions within your own AutoIt GUI. However, the _GUICtrl[Control+Type]_* (note leading underscore) functions within the UDFs will work on third party apps as well (as long as they are created with the standard Windows API calls) - you can also use the Control* functions to interact with other GUIs. Look in the Help file under <User Defined Function Reference> to see all the possibilites - and under <Using AutoIt - Window Titles and Text (Advanced)> to see how you can use the information from the Window Info tool to identify these controls . 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...
rw0011 Posted January 25, 2012 Author Share Posted January 25, 2012 M23, Thank you and thanks for the reply 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