Custom Query (3931 matches)
Results (304 - 306 of 3931)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #3695 | Completed | Func _SQLite_Display2DResult($aResult, $iCellWidth = 0, $bReturn = False, $sDelim_Col = "", $sDelim_Row = @CRLF) | ||
| Description |
; #FUNCTION# ====================================================================================================================
; Author ........: piccaso (Fida Florian)
; Modified.......: jchd, argumentum (02.03.19 - added flexibility)
; ===============================================================================================================================
Func _SQLite_Display2DResult($aResult, $iCellWidth = 0, $bReturn = False, $sDelim_Col = "", $sDelim_Row = @CRLF)
If Not IsArray($aResult) Or UBound($aResult, $UBOUND_DIMENSIONS) <> 2 Or $iCellWidth < 0 Then Return SetError(1, 0, "")
Local $aiCellWidth
If $iCellWidth = 0 Or $iCellWidth = Default Then
Local $iCellWidthMax
Dim $aiCellWidth[UBound($aResult, $UBOUND_COLUMNS)]
For $iRow = 0 To UBound($aResult, $UBOUND_ROWS) - 1
For $iCol = 0 To UBound($aResult, $UBOUND_COLUMNS) - 1
$iCellWidthMax = StringLen($aResult[$iRow][$iCol])
If $iCellWidthMax > $aiCellWidth[$iCol] Then
$aiCellWidth[$iCol] = $iCellWidthMax
EndIf
Next
Next
EndIf
Local $sOut = "", $iCellWidthUsed
For $iRow = 0 To UBound($aResult, $UBOUND_ROWS) - 1
For $iCol = 0 To UBound($aResult, $UBOUND_COLUMNS) - 1
If $iCellWidth = 0 Then
$iCellWidthUsed = $aiCellWidth[$iCol]
Else
$iCellWidthUsed = $iCellWidth
EndIf
$sOut &= StringFormat(" %-" & $iCellWidthUsed & "." & $iCellWidthUsed & "s ", $aResult[$iRow][$iCol]) & $sDelim_Col
Next
$sOut &= $sDelim_Row
If Not $bReturn Then
__SQLite_Print($sOut)
$sOut = ""
EndIf
Next
If $bReturn Then Return $sOut
EndFunc ;==>_SQLite_Display2DResult
This version has the possibility to declare Column and Row delimitation. Test code is at https://www.autoitscript.com/forum/topic/197277-_arrayfromstring/?do=findComment&comment=1417567 This change is not code braking. |
|||
| #3694 | No Bug | WinGetSize function missing from AutoItX3_64 | ||
| Description |
I am using AutoItX3_x64.dll (AutoItX3.dll does not load). I tried the WinGetSize function but it raises an Attribute Not Found error. I scanned the dll with DLL Export Viewer and the x_64 does not have the WinGetSize function. (AutoItX3.dll DOES include the function.) It seems as if it was left out of the dll by mistake, I'm assuming. can you please add it back in? Thanks. import win32com.client
ai = win32com.client.Dispatch("AutoItX3.Control")
ai.WinGetSize("DLL Export Viewer")
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\Users\dave\workspace\client\venv\lib\site-packages\win32com\client\dynamic.py", line 527, in __getattr__
raise AttributeError("%s.%s" % (self._username_, attr))
AttributeError: AutoItX3.Control.WinGetSize
|
|||
| #3693 | Fixed | Invalid SciTEConfig_Source.zip File on downloads page | ||
| Description |
Issue: The SciTEConfig_source.zip file that is located here https://www.autoitscript.com/autoit3/scite/download/SciTEConfig_Source.zip causes an error 0x80004005 when unzipped. The file unzips fine with 7zip, so I think this is because it is encrypted with AES-256. (Windows 10 x64) |
|||
