Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1322 closed Bug (Fixed)

ControlCommand with "GetSelected" used on ListView crashes the script

Reported by: MrCreatoR <mscreator@…> Owned by: Valik
Milestone: Component: AutoIt
Version: Severity: None
Keywords: ControlCommand, GetSelected, ListView, crash Cc:


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.

Tested on WinXP SP2.

Attachments (0)

Change History (2)

comment:1 Changed 14 years ago by Valik

  • Milestone set to
  • Owner set to Valik
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [5435] in version:

comment:2 Changed 14 years ago by Valik

This ticket is referenced in revision: [5439]

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.

Add Comment

Modify Ticket

as closed The owner will remain Valik.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.