Modify ↓
Opened 16 years ago
Closed 15 years ago
#1714 closed Bug (Wont Fix)
controlID is not evaluated completely
| Reported by: | 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 by , 16 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:2 by , 16 years ago
comment:3 by , 16 years ago
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 by , 15 years ago
| Resolution: | → Wont Fix |
|---|---|
| Status: | assigned → closed |
By design for the moment.
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.