Mandi Posted September 28, 2018 Posted September 28, 2018 Hello! This is a general question that I would love to get answered. I've been using Controlclick for various application, but some times I can't use it since there is not enough information about the controlID from the autoit spy tool. Some times the Control tab on the spy tool is just blank... Does that mean its a masked window? And is there a way to go around this? So here is Usally how i use it: $NameOfApplication =" X.X.X" $ControlID = "X.X.X" ( I always use the advanced class as my controlid, maybe there is other controlid's i can use? and how? $xCordinate $yCordinate Controlclick($NameOfApplication, "", "$ControlID", "left", 1 $xCoridnate, $yCordinate)
Moderators JLogan3o13 Posted September 28, 2018 Moderators Posted September 28, 2018 The AutoIt Window Info Tool is not going to capture everything. Take a look at the IUIAutomation thread and the SimpleSpy tool in the examples forum. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Mandi Posted September 28, 2018 Author Posted September 28, 2018 1 hour ago, JLogan3o13 said: The AutoIt Window Info Tool is not going to capture everything. Take a look at the IUIAutomation thread and the SimpleSpy tool in the examples forum. Hello! I did download the Simlespy tool. I pressed CTRL + W and got quite some information. How can i pick out the "ControlID"?
Mandi Posted September 28, 2018 Author Posted September 28, 2018 2 minutes ago, Mandi said: Hello! I did download the Simlespy tool. I pressed CTRL + W and got quite some information. How can i pick out the "ControlID"? New AutoIt v3 Script (17).au3
Developers Jos Posted September 28, 2018 Developers Posted September 28, 2018 @Mandi, Any reason why you needed to create a new account? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Mandi Posted September 28, 2018 Author Posted September 28, 2018 1 hour ago, Jos said: @Mandi, Any reason why you needed to create a new account? Jos I prefer using this name insted. Maybe you can just change name? if so then you can delete this account.
Moderators JLogan3o13 Posted September 28, 2018 Moderators Posted September 28, 2018 Regardless of the name you choose, my post in your last thread still stands - if you continue to ask questions and then not provide any information, expecting people to guess at what you're doing, you are going to receive any help. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Developers Jos Posted September 28, 2018 Developers Posted September 28, 2018 4 hours ago, Mandi said: I prefer using this name insted. Maybe you can just change name? if so then you can delete this account. Merged the 2 accounts and please next time just ask us to rename it. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
LarsJ Posted September 29, 2018 Posted September 29, 2018 15 hours ago, Mandi said: Hello! I did download the Simlespy tool. I pressed CTRL + W and got quite some information. How can i pick out the "ControlID"? ControlID is not used in UI Automation code and normally you cannot get ControlID. ControlID is used in classic automation code. If it's necessary to use UI Automation code to detect a control, then it's usually also necessary to use UI Automation code to automate the control. The control cannot be automated with classic code. Controls, File Explorer, ROT objects, UI Automation, Windows Message MonitorCompiled code: Accessing AutoIt variables, DotNet.au3 UDF, Using C# and VB codeShell menus: The Context menu, The Favorites menu. Shell related: Control Panel, System Image ListsGraphics related: Rubik's Cube, OpenGL without external libraries, Navigating in an image, Non-rectangular selectionsListView controls: Colors and fonts, Multi-line header, Multi-line items, Checkboxes and icons, Incremental searchListView controls: Virtual ListViews, Editing cells, Data display functions
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