Modify ↓
Opened 14 years ago
Closed 14 years ago
#1714 closed Bug (Wont Fix)
controlID is not evaluated completely
Reported by: | u.kolender@… | Owned by: | Jon |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.3.6.0 | Severity: | None |
Keywords: | Cc: |
Description
When determining a control by class, id and text the text is not considered for identifying the control.
Example:
- Open notepad.
- Select to replace a string, so that the replacement dialog is open.
- The code:
$title = "Ersetzen" ; replace dialog $cID = "[CLASS:Button;ID:2;TEXT:Nonsense]" ; cancel button with invalid text MsgBox(0, "Debug", ControlCommand($title, "", $cID, "IsVisible", ""))
--> the button is found and the result is "1".
Attachments (0)
Change History (4)
comment:1 Changed 14 years ago by Jpm
- Owner set to Jon
- Status changed from new to assigned
comment:2 Changed 14 years ago by Jpm
comment:3 Changed 14 years ago by u.kolender@…
Well, there are some applications using the same id numbers for different controls. They differ in control type and/or text, for instance. So, it would be a great benefit to have ALL determined properties evaluated.
comment:4 Changed 14 years ago by Jon
- Resolution set to Wont Fix
- Status changed from assigned to closed
By design for the moment.
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Note: See
TracTickets for help on using
tickets.
In fact when ID:xx is defined if the xx match then the searching is successful whatever other properties that may have been defined.
Perhaps Doc should be more clear on this behavior.
I Leave other Dev the final answer on this.