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)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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