I was having a look at the CPU Temp script by chris L
And it gives me the temp as expected, the thing i dont know is how to get it to refresh the temp every 30 secs?
Any suggestions?
Could i use ContinueLoop here
[ autoit ]
Func _ACPI_Temp() Local $wbemFlagReturnImmediately = 0x10, $strComputer, $objWMIService, $colItems Local $wbemFlagForwardOnly = 0x20 Local $CurrTemp = "N/A" $strComputer = "." $objWMIService = ObjGet("winmgmts:\\" & $strComputer & "\root\wmi") $colItems = $objWMIService.ExecQuery("SELECT * FROM MSAcpi_ThermalZoneTemperature", "WQL", $wbemFlagReturnImmediately + $wbemFlagForwardOnly) For $objItem In $colItems $CurrTemp = ($objItem.CurrentTemperature - 2732) / 10 Next Return $CurrTemp EndFunc ;==>_ACPI_Temp
And it gives me the temp as expected, the thing i dont know is how to get it to refresh the temp every 30 secs?
Any suggestions?
Could i use ContinueLoop here
[ autoit ]
but how do i get it to understand every 30 secs?