Custom Query (3917 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (367 - 369 of 3917)

Ticket Resolution Summary Owner Reporter
#368 Fixed Success of _ArrayToClip is now -1 (used to be 1 and as still documented) Gary John.Rainbow@…
Description

The "Success" return of function _ArrayToClip is now -1 (older production release returned "1" and the current documentation for this function is also "1").

The workaround is either to use the new "Success" value of "-1" (not recommended in case this function is corrected to the documentation) or to test that it is <> 0

For example, Return Flag in the script below shows as "-1" although it was successful (according to the documentation, success = 1)

#include <Array.au3>

Local $avArray = StringSplit("a,b,c,d,e,f,g,h,i", ",")
$iRetCode = _ArrayToClip($avArray, 1)
MsgBox(0, "Return Flag ", "$iRetCode = " & $iRetCode)
MsgBox(0, "_ArrayToClip() Test", ClipGet())
#369 Duplicate RunAsWait and RunAs anonymous
Description

When launching a program using Runaswait and giving a flag value but without giving a working directory, the program won't launch. It works with Runwait.

This code does not work (@error=1)

Dim $Result
$Result = RunAsWait("user", @ComputerName, "userpwd", 1, "calc.exe","",@SW_SHOW)
IF @error <> 0 Then Msgbox(0,"Result",$Result & " " & @Error)

This code works

Dim $Result
$Result = RunAsWait("user", @ComputerName, "userpwd", 1, "calc.exe")
IF @error <> 0 Then Msgbox(0,"Result",$Result & " " & @Error)

Same problem with RunAs

So the working dir is not optional when you want to precise the flag and the only work around is to give a working directory which is accessible to the user you are using the security context

#370 No Bug RunAs() and I/O redirection does not work on Windows 2000 Valik Valik
Description

Reminder for myself that RunAs() with STDIO redirection will fail on Windows 2000. This is not the same issue as reported in #344.

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