Jump to content

Recommended Posts


Posted (edited)

I search my registry for process speed info. It is located in :

Windows Registry Editor Version 5.00

;this is 2GHz CPU

[HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0]

"~MHz"=dword:000007cf

(Not sure if this is a standard location or custom location. My OS is XP Sp3)

U can try using RegRead function

Hope that helps

Edited by Geej
Posted
$CPUSpeed = RegRead("HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0", "~MHz")
#include <File.au3>
; Create CPUSpeed.ini file
$IniFilePath = @ScriptDir & "\CPUSpeed.ini"
_FileCreate($IniFilePath)
; Write ini section
IniWriteSection($IniFilePath, "CPUSpeed", "")
; Write key and value
IniWrite($IniFilePath, "CPUSpeed", "MHz", $CPUSpeed)

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...