rakudave Posted August 6, 2005 Share Posted August 6, 2005 I'd like to script an app, showing you the CPU on the desktop (like on mac OS X) so: is there a way to get the CPU? :"> THX rakudave Pangaea Ruler new, UDF: _GUICtrlCreateContainer(), Pangaea Desktops, Pangaea Notepad, SuDoku, UDF: Table Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted August 6, 2005 Share Posted August 6, 2005 by CPU do you mean its statistics like what graphics card your using and a bunch of all that stuff or what? Link to comment Share on other sites More sharing options...
Valuater Posted August 6, 2005 Share Posted August 6, 2005 you can check this out (by chaos2)http://www.autoitscript.com/forum/index.ph...pe=post&id=34178) Link to comment Share on other sites More sharing options...
layer Posted August 6, 2005 Share Posted August 6, 2005 Depending on you OS, this MAY work... It doesn't work for me, not sure why... And you need the LATEST BETA... Func _GetCPU() Local $IFILETIME, $KFILETIME, $UFILETIME, $v_Call $IFILETIME = DllStructCreate("dword;dword") $KFILETIME = DllStructCreate("dword;dword") $UFILETIME = DllStructCreate("dword;dword") $v_Call = DllCall("kernel32.dll", "int", "GetSystemTimes", "ptr", DllStructGetPtr($IFILETIME), "ptr", DllStructGetPtr($KFILETIME), "ptr", DllStructGetPtr($UFILETIME)) DllStructDelete($IFILETIME) DllStructDelete($KFILETIME) DllStructDelete($UFILETIME) Return $v_Call[0] EndFunc While 1 Sleep(1000) ToolTip(_GetCPU()) WEnd FootbaG Link to comment Share on other sites More sharing options...
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