Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (166 - 168 of 3883)

Ticket Resolution Summary Owner Reporter
#2126 Completed _ArrayDisplay not able to display all elements of an array guinness BrewManNH
Description

There appears to be an undocumented change to _ArrayDisplay since at least 3.3.8.0, either the wrong version was put into the Array.au3 file or it was changed since 3.3.6.1 without being mentioned. The version in the latest release (and the 3.3.9.0 beta) will not display all of the elements in an array if the array has more than 65,530 elements.

The older version didn't have this limitation because this code:

; Fill listview
Local $aItem
For $i = 0 To $iUBound
	If GUICtrlCreateListViewItem($avArrayText[$i], $hListView) = 0 Then
		; use GUICtrlSendMsg() to overcome AutoIt limitation
		$aItem = StringSplit($avArrayText[$i], $sSeparator)
		DllStructSetData($tBuffer, "Text", $aItem[1])
			; Add listview item
		DllStructSetData($tItem, "Item", $i)
		DllStructSetData($tItem, "SubItem", 0)
		DllStructSetData($tItem, "Mask", $iAddMask)
		GUICtrlSendMsg($hListView, $_ARRAYCONSTANT_LVM_INSERTITEMW, 0, $pItem)
			; Set listview subitem text
		DllStructSetData($tItem, "Mask", $_ARRAYCONSTANT_LVIF_TEXT)
		For $j = 2 To $aItem[0]
			DllStructSetData($tBuffer, "Text", $aItem[$j])
			DllStructSetData($tItem, "SubItem", $j - 1)
			GUICtrlSendMsg($hListView, $_ARRAYCONSTANT_LVM_SETITEMW, 0, $pItem)
		Next
	EndIf
Next

Has been replaced by this code:

; Fill listview
For $i = 0 To $iUBound
	GUICtrlCreateListViewItem($avArrayText[$i], $hListView)
Next

Which, as you can see, uses the native function to create the LV items, which is limited by the number of Control IDs available to do so.

Just wondering if this is as intended or if there is a problem to report.

#2173 Rejected _StringProper doesn't capitalize correctly BrewManNH
Description

The original _StringProper function doesn't correctly capitalize letters after some characters and numbers. If I use the original _StringProper on this string:

$String = "She's all that I,wAnt (10th place of 2)"

I get this as the output from it:

_StringProper($String) = She'S All That I,Want (10Th Place Of 2)

As you can see, the 2nd S in She's, the W in want and the T in 10th are all capitalized and they shouldn't be.

A simple addition to the RegEx in the function will correct this. By changing this

[[[ Select

Case $CapNext = 1

If StringRegExp($s_CurChar, '[a-zA-ZÀ-ÿšœžŸ]') Then

$s_CurChar = StringUpper($s_CurChar) $CapNext = 0

EndIf

Case Not StringRegExp($s_CurChar, '[a-zA-ZÀ-ÿšœžŸ]')

$CapNext = 1

Case Else

$s_CurChar = StringLower($s_CurChar)

EndSelect }}} To this:

Select
	Case $CapNext = 1
		If StringRegExp($s_CurChar, "[a-zA-ZÀ-ÿ'šœžŸ0-9,]") Then
			$s_CurChar = StringUpper($s_CurChar)
			$CapNext = 0
		EndIf
	Case Not StringRegExp($s_CurChar, "[a-zA-ZÀ-ÿ'šœžŸ0-9,]")
		$CapNext = 1
	Case Else
		$s_CurChar = StringLower($s_CurChar)
EndSelect

It will give you the output below:

_StringProper($String) = She's All That I,want (10th Place Of 2)

Because the layout of this code on the page isn't formatting correctly, I have also attached a script showing the changes.

#2180 Fixed Aut2Exe won't create .exe when using icon BrewManNH
Description

Whenever I try to create an exe file, even as a test, using 3.3.9.3, if I try to use the /icon parameter with Aut2Exe I will never get an exe to be created. Using this line from SciTe to try to create a compiled exe;

F:\AutoIt3\beta\aut2exe\aut2exe.exe  /in "C:\Users\User\Dropbox\AutoItScripts\test.au3" /out "C:\Users\User\Dropbox\AutoItScripts\test.exe" /nopack /icon "C:\Users\User\Dropbox\AutoItScripts\some.ico" /comp 4

I get this error message every time.

---------------------------
Aut2Exe Error
---------------------------
Error: Unable to create the compiled archive.
---------------------------

If I remove the /icon parameter and the connected ico file it will compile without any issues.

Note: See TracQuery for help on using queries.