Custom Query
Results (292 - 294 of 3893)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #293 | No Bug | using CLASS and TEXT together... | anonymous | |
| Description |
there was fix in this issue with v3.2.10.0. (Fixed: Control...() functions using CLASS and TEXT together sometimes incorrect.) In my case there was no problems with v3.2.8.1, but when I update autoit to v3.2.12.0 today, several ControlClick() functions that using CLASS and TEXT together are not woking, so I had to remove all "TEXT:xxx" in my scripts. Here is one of them not woking. ControlClick($handle, "", "[CLASS:Button; TEXT:&Move; INSTANCE:10]") thanks. |
|||
| #294 | Fixed | Fix for _FileFreadToArray() | Gary | GEOSoft |
| Description |
Fixes the situation where the file contains no @LF NOTE: This also includes my version with a default value for $aArray, Reason= It can be called without pre-declaring the array. You just need $MyArray = _FileReadToArray("My\File\Path.ext") My feelings won't be hurt if that's removed. Func _FileReadToArray($sFilePath, $aArray = "")
Local $hFile
$hFile = FileOpen($sFilePath, 0)
If $hFile = -1 Then ;; unable to open the file
SetError(1)
Return 0
EndIf
$aFile = FileRead($hFile, FileGetSize($sFilePath));; Read the file and remove trailing white spaces
$aFile = StringStripWS($aFile, 2)
FileClose($hFile)
If StringInStr($aFile, @LF) Then
$aArray = StringSplit( StringStripCR($aFile), @LF)
ElseIf StringInStr($aFile, @CR) Then ;; @LF does not exist so split on the @CR
$aArray = StringSplit( $aFile, @CR)
Else ;; unable to split the file
SetError(1)
Return 0
EndIf
Return $aArray
EndFunc ;<==> _FileReadToArray()
|
|||
| #295 | No Bug | Test ticket | Valik | Valik |
| Description |
This is a test ticket, ignore me. |
|||
