Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (178 - 180 of 3866)

Ticket Resolution Summary Owner Reporter
#2235 Fixed if process not exist,ProcessGetStats will not return 0. Valik thesnoW
Description
#include <Array.au3> 
Local $a=ProcessGetStats(12345678,1)
 
MsgBox(32,"",$a)
If $a <> 0 Then 
        ConsoleWrite($a[0] & @TAB & $a[1] & @CRLF)
EndIf

if process not exist,ProcessGetStats will not return 0.

#2454 Works For Me if WMI Obj need "Join",au3 crashed. thesnoW
Description

the 2rd round work on old version the 1rd round will crash with not object.

_NetworkAdapterInfo()		
Func _NetworkAdapterInfo()
	Local $colItems = ""
	Local $objWMIService
	Local $NetworkAdapterGateway = ""
	$objWMIService = ObjGet("winmgmts:\\localhost\root\CIMV2")
	$colItems = $objWMIService.ExecQuery("SELECT * FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled != 0", "WQL", 0x10 + 0x20)
	Local $colItem2 = $objWMIService.ExecQuery('SELECT * FROM Win32_NetworkAdapter WHERE NetConnectionStatus >0', "WQL", 0x10 + 0x20)
	If IsObj($colItems) Then
		For $objItem In $colItems
;1RD			
;~ 			If IsObj($objItem.DefaultIPGateway) Then
			FOR $Element IN $objItem.DefaultIPGateway
				$NetworkAdapterGateway= $Element
				MsgBox(32,"",$NetworkAdapterGateway)
			NEXT
;~ 			EndIf

;2RD
		MsgBox(32,"",$NetworkAdapterGateway(0))
		Next
	EndIf
EndFunc   ;==>_NetworkAdapterInfo

VBS version: strDefaultIPGateway = Join(objItem.DefaultIPGateway, ",")

#3836 Fixed FileExists with trailing quotation mark Jon therks@…
Description

Mentioned here first: https://www.autoitscript.com/forum/topic/206186-fileexists-with-trailing-quote/

For some reason FileExists is treating paths that end with a quote mark (or multiple marks) as valid.

; Assuming File.txt exists:
ConsoleWrite(FileExists('File.txt'))   ; Returns 1
ConsoleWrite(FileExists('"File.txt"')) ; Returns 0
ConsoleWrite(FileExists('"File.txt'))  ; Returns 0
ConsoleWrite(FileExists('File.txt"'))  ; Returns 1
ConsoleWrite(FileExists('File.txt""')) ; Returns 1
Note: See TracQuery for help on using queries.