Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#1322 closed Bug (Fixed)

ControlCommand with "GetSelected" used on ListView crashes the script

Reported by: MrCreatoR <mscreator@…> 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 Changed 10 years ago by Valik

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

Fixed by revision [5435] in version: 3.3.1.7

comment:2 Changed 10 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

Action
as closed The owner will remain Valik.
Author


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

 
Note: See TracTickets for help on using tickets.