Modify ↓
#1322 closed Bug (Fixed)
ControlCommand with "GetSelected" used on ListView crashes the script
| Reported by: | Owned by: | Valik | |
|---|---|---|---|
| Milestone: | 3.3.1.7 | Component: | AutoIt |
| Version: | 3.3.0.0 | Severity: | None |
| Keywords: | ControlCommand, GetSelected, ListView, crash | Cc: |
Description
To reproduce the bug, just open some Explorer window (folder), and run this script:
ControlCommand("[CLASS:CabinetWClass]", "", "SysListView321", "GetSelected")
MsgBox(64, 'Title', 'Crash!') ;Not shown
I know that "GetSelected" should be used on Edit control, but i came across this issue trying to get the text dinamically (in loop - for current control, using ControlGetFocus). And i think in any case script should not crash.
[b]P.Sb
Tested on WinXP SP2.
Attachments (0)
Change History (2)
comment:1 by , 16 years ago
| Milestone: | → 3.3.1.7 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Fixed by revision [5435] in version: 3.3.1.7