Custom Query (3931 matches)
Results (394 - 396 of 3931)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #2903 | No Bug | GUICtrlSetFont does not mention FontConstants.au3 | ||
| Description |
The example in the help file for function GUICtrlSetFont does not mention that FontConstants.au3 must be included in order to use the font constants. |
|||
| #2904 | No Bug | FileOpen does NOT return an error when path is invalid. | ||
| Description |
The FileOpen function does not return an @error value of –1 when the path is invalid. The following script demonstrates this by using multiple colons in the path. #include <FileConstants.au3>
ConsoleWrite("Define an InValid path for a file name by use of multiple colons." & @LF)
Local $sFile = "d:::\xxxx\Test.txt"
ConsoleWrite("$sFile=" & $sFile & @LF)
Local $h1 = FileOpen($sFile, $FO_OVERWRITE + $FO_CREATEPATH)
If @error = -1 Then
ConsoleWrite($sFile & " is an INvalid filename. " & @LF)
$sFile = @ScriptDir & "\TVLister.xml"
Else
ConsoleWrite($sFile & " is a valid filename. " & @LF)
FileClose($h1)
EndIf
ConsoleWrite("FileExists(" & $sFile & ")=" & FileExists($sFile) & @LF)
If FileExists($sFile) Then FileDelete($sFile)
Exit
Tested in v3.3.12.0 and v3.3.13.19 |
|||
| #2317 | Works For Me | ObjCreate Memory Leak | ||
| Description |
According to the Helpfile. Setting any Object with a number or string is ment to release it from memory. #NoTrayIcon While 1 sleep(250) Make() WEnd Func Make() Local $o_object = ObjCreate("InternetExplorer.Application") $o_object.quit $o_object = "String" EndFunc As you can see by the code above, the Objcreate is called inside a function. The Object itself is set to a string. So the memory should be released. Yet if you run the script, along side task-manager. You will see every time the function is called the memory for the autoit script goes up. |
|||
