MSFN Forum: AutoIT: Detect Processor Speed - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

AutoIT: Detect Processor Speed Rate Topic: -----

#1 User is offline   RandomClown 

  • Group: Members
  • Posts: 8
  • Joined: 28-October 08

Posted 11 November 2008 - 06:15 PM

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


#2 User is offline   Geej 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 547
  • Joined: 01-January 08
  • OS:XP Pro x86
  • Country: Country Flag

Posted 11 November 2008 - 07:45 PM

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

This post has been edited by Geej: 11 November 2008 - 07:47 PM


#3 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,239
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 November 2008 - 07:59 PM

not AutoIt but gives info to find processor info: http://support.microsoft.com/kb/888282

#4 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 702
  • Joined: 08-February 07

Posted 12 November 2008 - 07:13 AM

$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)


#5 User is offline   RandomClown 

  • Group: Members
  • Posts: 8
  • Joined: 28-October 08

Posted 14 November 2008 - 10:58 PM

Thanks, I will see about installing the code into the app.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy