Sign in to follow this  
Followers 0
rw0011

GUI Functions/getting values from outside applications

3 posts in this topic

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

Share this post


Link to post
Share on other sites



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._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

M23,

Thank you and thanks for the reply

Share this post


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
Sign in to follow this  
Followers 0