Custom Query (3922 matches)
Results (145 - 147 of 3922)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #2235 | Fixed | if process not exist,ProcessGetStats will not return 0. | ||
| 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. | ||
| 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, ",") |
|||
| #2239 | No Bug | if ObjEvent("AutoIt.Error") with only one arg will crash | ||
| Description |
;;crash
$oMyError = ObjEvent("AutoIt.Error") ; Install a custom error handler
this work on 3.3.9.4 not work on http://www.autoitscript.com/autoit3/files/beta/autoit/autoit-v3.3.9.5-sfx.exe |
|||
Note:
See TracQuery
for help on using queries.
