terry584 Posted August 22, 2021 Share Posted August 22, 2021 I am still a beginner level in AutoIT. I got stumped at first with how GUICtrlSendToDummy works in the following example on the GUICtrlCreateDummy info screen found at: autoitscript.com/autoit3/docs/functions/GUICtrlCreateDummy.htm Here is what I found out: The "Dummy" control can NOT be seen, but it can store info and respond to requests. When a GUICtrlSendToDummy($idUser) command is run, it effectively CLICKS the "Dummy" control. When / $idMsg = GUIGetMsg() / is run right after the "Dummy" control is CLICKED, it stores the Controlid in $idMsg just like when one of the regular buttons is clicked. The Controlid for this "Dummy" control is "3". The Controlid number is assigned based on what order the control was created. Link to comment Share on other sites More sharing options...
JockoDundee Posted August 22, 2021 Share Posted August 22, 2021 1 hour ago, terry584 said: I got stumped at first with how GUICtrlSendToDummy works in the following example on the GUICtrlCreateDummy info screen found at: Are you saying that you are totally unstumped now, or is there still a residual stumpage you need help with? Code hard, but don’t hard code... Link to comment Share on other sites More sharing options...
robertocm Posted August 22, 2021 Share Posted August 22, 2021 I would suggest revising other examples in the forum: Melba 23, Aug '18 https://www.autoitscript.com/forum/topic/195247-cant-read-treeview-item/?do=findComment&comment=1400058 Melba23, Feb 10 '12https://www.autoitscript.com/forum/topic/83621-trapping-nm_return-in-a-listview-via-wm_notify/?do=findComment&comment=961983 rover, Sept 2008 https://www.autoitscript.com/forum/topic/80559-howto-grey-out-a-group-section/?do=findComment&comment=580661rover Melba23 / How to use the {enter} key as a Tab? https://www.autoitscript.com/wiki/FAQ#How_can_I_control_.28click.2C_edit_etc.29_an_external_.28html.29_application.3F Melba 23, October 2014 https://www.autoitscript.com/forum/topic/165299-using-the-enter-key-as-a-tab/?do=findComment&comment=1206898 Melga 23, Jan '15 https://www.autoitscript.com/forum/topic/166691-issues-with-listview-and-checkboxes/?do=findComment&comment=1218083 Melba23, Jul 2019https://www.autoitscript.com/forum/topic/182492-guilistviewex-bugfix-version-26-apr-19/?do=findComment&comment=1431229 Link to comment Share on other sites More sharing options...
terry584 Posted August 22, 2021 Author Share Posted August 22, 2021 Hi JockoDundee, I think that I have it figured out now. Thanks for your reply! Have a great day! Terry Link to comment Share on other sites More sharing options...
Zedna Posted August 22, 2021 Share Posted August 22, 2021 You can also look at deeply described examples in Wiki (search for "dummy"): https://www.autoitscript.com/w/index.php?search=dummy&title=Special%3ASearch&go=Go Resources UDF ResourcesEx UDF AutoIt Forum Search 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