Jump to content

CmputrAce

Members
  • Posts

    3
  • Joined

  • Last visited

CmputrAce's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Not sure why it happened, but I uninstalled AutoIt and reinstalled it. Case closed.
  2. That was a typo: The error message is:
  3. I pulled this from the help file to test the ListBox #AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 #include <GuiListBox.au3> $Debug_LB = False ; Check ClassName being passed to ListBox functions, set to True and use a handle to another control to see it work _Main() Func _Main() Local $hListBox ; Create GUI GUICreate("List Box Click Item_GUICtrlListBox_ClickItem", 400, 296) $hListBox = GUICtrlCreateList("", 2, 2, 396, 296) GUISetState() ; Add strings _GUICtrlListBox_BeginUpdate($hListBox) For $iI = 1 To 9 _GUICtrlListBox_AddString($hListBox, StringFormat("%03d : Random string", Random(1, 100, 1))) Next _GUICtrlListBox_EndUpdate($hListBox) ; Click an item _GUICtrlListBox_ClickItem($hListBox, 4, "left", True) ; Loop until user exits Do Until GUIGetMsg() = $GUI_EVENT_CLOSE GUIDelete() EndFunc ;==>_Main I get this message: If I try to "Execute" GuiListBox.au3, I get: Any thoughts?
×
×
  • Create New...