Jump to content
Sign in to follow this  
Khryus

System specs?

Recommended Posts

Khryus

How can I get the current systems specs?

Precisely:

  • CPU & CPU Speed (ex Intel Core 2 Quad Q6600 @ 2.4GHz)
  • Physical RAM (ex 8GB, is it possible to get RAM speed too?)
  • OS
  • HDD Size and free space
  • Graphic Card & RAM (ex AMD Radeon HD 7800 Series [would be better if the name was more specific, like MSI Radeon R7870 2GB RAM DDR5] )
  • Audio Card
  • DirectX Version

"The story of a blade is linked in Blood." 

―Yasuo

 

Share this post


Link to post
Share on other sites
water

Search the forum for "computer info UDF". You will find what you need ;)

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
FireFox

This one is good too :


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
Khryus

Thanks for the quick reply, the UDF will do better :)


"The story of a blade is linked in Blood." 

―Yasuo

 

Share this post


Link to post
Share on other sites
FireFox

Thanks for the quick reply, the UDF will do better :)

There's no doubt about it.
  • Like 1

 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
Khryus

Am I doing anything wrong? The UDF says I have 4GB RAM, when I have 8.

It returns 4294967296 as capacity, which divided by 1024 for 3 times gives 4(GB). However, FormFactor returns 8. Which one do I have to consider?

Posted Image

Dim $Memory
_ComputerGetMemory($Memory)
For $i = 1 To $Memory[0][0] Step 1
MsgBox(0, "Test _ComputerGetMemory", "Name: " & $Memory[$i][0] & @CRLF & _
"BankLabel: " & $Memory[$i][1] & @CRLF & _
"Capacity: " & $Memory[$i][2] & @CRLF & _
"CreationClassName: " & $Memory[$i][3] & @CRLF & _
"Description: " & $Memory[$i][4] & @CRLF & _
"DataWidth: " & $Memory[$i][5] & @CRLF & _
"DeviceLocator: " & $Memory[$i][6] & @CRLF & _
"FormFactor: " & $Memory[$i][7] & @CRLF & _
"HotSwappable: " & $Memory[$i][8] & @CRLF & _
"InterleaveDataDepth: " & $Memory[$i][9] & @CRLF & _
"InterleavePosition: " & $Memory[$i][10] & @CRLF & _
"Manufacturer: " & $Memory[$i][11] & @CRLF & _
"MemoryType: " & $Memory[$i][12] & @CRLF & _
"Model: " & $Memory[$i][13] & @CRLF & _
"OtherIdentifyingInfo: " & $Memory[$i][14] & @CRLF & _
"PartNumber: " & $Memory[$i][15] & @CRLF & _
"PositionInRow: " & $Memory[$i][16] & @CRLF & _
"PoweredOn: " & $Memory[$i][17] & @CRLF & _
"Removable: " & $Memory[$i][18] & @CRLF & _
"Replaceable: " & $Memory[$i][19] & @CRLF & _
"SerialNumber: " & $Memory[$i][20] & @CRLF & _
"SKU: " & $Memory[$i][21] & @CRLF & _
"Speed: " & $Memory[$i][22] & @CRLF & _
"Status: " & $Memory[$i][23] & @CRLF & _
"Tag: " & $Memory[$i][24] & @CRLF & _
"TotalWidth: " & $Memory[$i][25] & @CRLF & _
"TypeDetail: " & $Memory[$i][26] & @CRLF & _
"Version: " & $Memory[$i][27])
Next
Edited by megablox

"The story of a blade is linked in Blood." 

―Yasuo

 

Share this post


Link to post
Share on other sites
Mechaflash

Is your OS 32 or 64 bit?


Spoiler

“Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.”

 

Share this post


Link to post
Share on other sites
Khryus

Windows 7 Ultimate 64 bit, forgot to mention that.


"The story of a blade is linked in Blood." 

―Yasuo

 

Share this post


Link to post
Share on other sites
BrewManNH

Where is the function _ComputerGetMemory?


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites
Mechaflash

4x2GB paired?


Spoiler

“Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.”

 

Share this post


Link to post
Share on other sites
Khryus

It's an UDF, I placed it inside the Include folder. Yes, I add #include <filename.au3> to the top of the script.

Func _ComputerGetMemory(ByRef $aMemoryInfo)
Local $colItems, $objWMIService, $objItem
Dim $aMemoryInfo[1][28], $i = 1

$objWMIService = ObjGet("winmgmts:" & $cI_Compname & "rootCIMV2")
$colItems = $objWMIService.ExecQuery("SELECT * FROM Win32_PhysicalMemory", "WQL", $wbemFlagReturnImmediately + $wbemFlagForwardOnly)

If IsObj($colItems) Then
For $objItem In $colItems
ReDim $aMemoryInfo[UBound($aMemoryInfo) + 1][28]
$aMemoryInfo[$i][0] = $objItem.Name
$aMemoryInfo[$i][1] = $objItem.BankLabel
$aMemoryInfo[$i][2] = $objItem.Capacity
$aMemoryInfo[$i][3] = $objItem.CreationClassName
$aMemoryInfo[$i][4] = $objItem.Description
$aMemoryInfo[$i][5] = $objItem.DataWidth
$aMemoryInfo[$i][6] = $objItem.DeviceLocator
$aMemoryInfo[$i][7] = $objItem.FormFactor
$aMemoryInfo[$i][8] = $objItem.HotSwappable
$aMemoryInfo[$i][9] = $objItem.InterleaveDataDepth
$aMemoryInfo[$i][10] = $objItem.InterleavePosition
$aMemoryInfo[$i][11] = $objItem.Manufacturer
$aMemoryInfo[$i][12] = $objItem.MemoryType
$aMemoryInfo[$i][13] = $objItem.Model
$aMemoryInfo[$i][14] = $objItem.OtherIdentifyingInfo
$aMemoryInfo[$i][15] = $objItem.PartNumber
$aMemoryInfo[$i][16] = $objItem.PositionInRow
$aMemoryInfo[$i][17] = $objItem.PoweredOn
$aMemoryInfo[$i][18] = $objItem.Removable
$aMemoryInfo[$i][19] = $objItem.Replaceable
$aMemoryInfo[$i][20] = $objItem.SerialNumber
$aMemoryInfo[$i][21] = $objItem.SKU
$aMemoryInfo[$i][22] = $objItem.Speed
$aMemoryInfo[$i][23] = $objItem.Status
$aMemoryInfo[$i][24] = $objItem.Tag
$aMemoryInfo[$i][25] = $objItem.TotalWidth
$aMemoryInfo[$i][26] = $objItem.TypeDetail
$aMemoryInfo[$i][27] = $objItem.Version
$i += 1
Next
$aMemoryInfo[0][0] = UBound($aMemoryInfo) - 1
If $aMemoryInfo[0][0] < 1 Then
SetError(1, 1, 0)
EndIf
Else
SetError(1, 2, 0)
EndIf
EndFunc ;_ComputerGetMemory

"The story of a blade is linked in Blood." 

―Yasuo

 

Share this post


Link to post
Share on other sites
Khryus

4x2GB paired?

Oh lol. Let me check :P

"The story of a blade is linked in Blood." 

―Yasuo

 

Share this post


Link to post
Share on other sites
water

Where is the function _ComputerGetMemory?

It's part of the written by JSThePatriot.
  • Like 1

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
BrewManNH

4x2GB paired?

It's probably more likely 4GB * 2 because that says BANK0 reads as 4GB, which probably means it only read one bank of the total memory rather than the total installed.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites
Khryus

Yep. 4x2GB. But I don't see the number of banks in the message :(

Edited by megablox

"The story of a blade is linked in Blood." 

―Yasuo

 

Share this post


Link to post
Share on other sites
Khryus

If that can help, both dxdiag and right click on computer > properties report 8GB RAM

Edited by megablox

"The story of a blade is linked in Blood." 

―Yasuo

 

Share this post


Link to post
Share on other sites
Mechaflash

It's probably more likely 4GB * 2 because that says BANK0 reads as 4GB, which probably means it only read one bank of the total memory rather than the total installed.

I see. Makes sense.

Spoiler

“Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.”

 

Share this post


Link to post
Share on other sites
Mechaflash

If that can help, both dxdiag and right click on pc > properties report 8GB RAM

Speaking of dxdiag, it can output to xml =D

dxdiag /x "%userprofile%desktopdxdiag.xml"

EDIT:

RunWait(@ComSpec & ' /c dxdiag /x "' & @DesktopDir & 'dxdiag.xml"', @SystemDir, @SW_HIDE)
Edited by Mechaflash
  • Like 1

Spoiler

“Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.”

 

Share this post


Link to post
Share on other sites
Khryus

Speaking of dxdiag, it can output to xml =D

dxdiag /x "%userprofile%desktopdxdiag.xml"

EDIT:

RunWait(@ComSpec & ' /c dxdiag /x "' & @DesktopDir & 'dxdiag.xml"', @SystemDir, @SW_HIDE)

Tried that, can't see any xml file on my desktop :(

"The story of a blade is linked in Blood." 

―Yasuo

 

Share this post


Link to post
Share on other sites
BrewManNH

When I run that script with the correct UDF I get two message boxes, one showing BANK0's specs, and the other showing BANK2's specs, which when added together gives me the 4GB that my system has. Also running this under Win 7 x64.

  • Like 1

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×