RandomClown Posted November 12, 2008 Posted November 12, 2008 Is there a way to make AutoIT check the speed of the processor? [excluding the power saving feature]I want it to edit a settings file & put in the speed.thanks
Geej Posted November 12, 2008 Posted November 12, 2008 (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 functionHope that helps Edited November 12, 2008 by Geej
IcemanND Posted November 12, 2008 Posted November 12, 2008 not AutoIt but gives info to find processor info: http://support.microsoft.com/kb/888282
radix Posted November 12, 2008 Posted November 12, 2008 $CPUSpeed = RegRead("HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0", "~MHz")#include <File.au3>; Create CPUSpeed.ini file$IniFilePath = @ScriptDir & "\CPUSpeed.ini"_FileCreate($IniFilePath); Write ini sectionIniWriteSection($IniFilePath, "CPUSpeed", ""); Write key and valueIniWrite($IniFilePath, "CPUSpeed", "MHz", $CPUSpeed)
RandomClown Posted November 15, 2008 Author Posted November 15, 2008 Thanks, I will see about installing the code into the app.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now