Custom Query (3927 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (397 - 399 of 3927)

Ticket Resolution Summary Owner Reporter
#1512 No Bug StdoutRead no correct output with german language OS Emiel Wieldraaijer
Description

Hi,

StdoutRead does not produce the correct output I've an image with the correct output.

Console Output =

"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "Z:\Proggen\CheckDisk\chktest.au3" /autoit3dir "C:\Program Files (x86)\AutoIt3" /UserParams

+>13:39:42 Starting AutoIt3Wrapper v.2.0.0.3 Environment(Language:0409 Keyboard:00020409 OS:WIN_VISTA/ CPU:X64 OS:X64)

Running AU3Check (1.54.19.0) from:C:\Program Files (x86)\AutoIt3

+>13:39:42 AU3Check ended.rc:0

Running:(3.3.4.0):C:\Program Files (x86)\AutoIt3\autoit3.exe "Z:\Proggen\CheckDisk\chktest.au3"

3240 C:\Windows\system32\cmd.exe /c chkdsk c: StdoutRead: Zugriff verweigert, das Sie nicht ber ausreichende Berechtigungen verfgen. Sie mssen dieses Programm mit erh”hten Rechten ausfhren.

+>13:39:43 AutoIT3.exe ended.rc:0 +>13:39:44 AutoIt3Wrapper Finished

Exit code: 0 Time: 1.866

[code example] (not mine) #include <Constants.au3> Local $foo, $cmd Local $line $cmd = @ComSpec & " /c chkdsk c:" $foo = Run($cmd, @SystemDir, @SW_HIDE, $STDERR_CHILD + $STDOUT_CHILD)

dbg($foo) dbg($cmd) While 1

$line = StdoutRead($foo) If $line<>"" Then

dbg("StdoutRead: " & $line)

EndIf If Not ProcessExists($foo) Then

ExitLoop

EndIf

Wend

Exit

Func dbg($msg, $error=@error, $extended=@extended, $ScriptLineNumber=@ScriptLineNumber)

Local $out = "(" & $ScriptLineNumber & ")(" & $error & ")(" & $extended & ") := " & $msg ConsoleWrite($msg & @CRLF) DllCall("kernel32.dll", "none", "OutputDebugString", "str", $out)

EndFunc

Thanks

Emiel

#1520 No Bug _ArrayAdd doesn't work after _ArrayDelete has removed the last element Gary snarks@…
Description

_ArrayDelete returns an empty string after the last element of an array has been removed. _ArrayAdd will not then work, as the variable is no longer an array.

_ArrayAdd could be simply amended to test for an empty string and assign a one-element array to the variable, possinly using the internal _ArrayCreate function.

Alternatively, if the existing behaviour of not being able to replace an empty string with an array needs to be conserved, _ArrayDelete could be amended to return a special value that could then be detected by _ArrayAdd. I don't know enough about the AutoIt internals to know if such a special value could be crafted that would not clash with existing functionality or cause additional problems to such functions as UBound() which should retain its existing behaviour of returning 0 for an "empty array" special value.

#1524 No Bug Bug: Helpfile INetGet return value Phil Seakins <seakinsp@…>
Description

INetGet 3.3.0.0 help says "Return Value Success: Returns 1. Failure: Returns 0."

In fact success returns 0 and failure returns various values depending on error. Eg., file not found = 7.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.