Babw_1 Posted January 24, 2023 Posted January 24, 2023 heyyy is it possible to make a script that say like all your components example : rtx 3070 i9 10400 16gb ram ddr4... ect just wanted to know if its possible lol
ioa747 Posted January 24, 2023 Posted January 24, 2023 you can start hear https://www.autoitscript.com/wiki/Snippets_(_Hardware_Information_) I know that I know nothing
Babw_1 Posted January 24, 2023 Author Posted January 24, 2023 i taked a look and theres nothing abt components
ioa747 Posted January 24, 2023 Posted January 24, 2023 ready does not exist. just to give you an idea how I know that I know nothing
ioa747 Posted January 24, 2023 Posted January 24, 2023 hard job make first a list what you need , and then find how to get this there are ready programs for this (I imagine you know) the AutoIt v3 is a freeware BASIC-like scripting language I know that I know nothing
Babw_1 Posted January 24, 2023 Author Posted January 24, 2023 i see i see.if i find something interesting i tell you
ioa747 Posted January 24, 2023 Posted January 24, 2023 start with motherboard ;_GetComputerModel_2 ;Author: rindeal ; Can return nothing relevant if machine is not a factory build ConsoleWrite(_GetComputerModel() & @CRLF) Func _GetComputerModel() Return RegRead("HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\BIOS", "SystemProductName") EndFunc ;==>_GetComputerModel I know that I know nothing
Moderators JLogan3o13 Posted January 24, 2023 Moderators Posted January 24, 2023 Here is a real simple example for getting your video card through WMI. I would suggest some research either on the forum or through Google on how to obtain different hardware components through WMI: $WMI = ObjGet("winmgmts:{impersonationLevel=impersonate}!\\" & @ComputerName & "\root\cimv2") $aItems = $WMI.ExecQuery("SELECT * FROM Win32_VideoController") For $element In $aItems ConsoleWrite($element.Name & @CRLF) Next "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
ioa747 Posted January 24, 2023 Posted January 24, 2023 oops and the video card ! I know that I know nothing
ioa747 Posted January 25, 2023 Posted January 25, 2023 hear more info expandcollapse popup#include <WinAPISys.au3> #include <WinAPIFiles.au3> _GetPhysicallyRAM() _GetDriveFIXED() _GetDriveCDROM() Func _GetPhysicallyRAM() Local $aData = _WinAPI_GetPhysicallyInstalledSystemMemory() ConsoleWrite('RAM => ' & $aData / 1024 / 1024 & " GB" & @CRLF) EndFunc Func _GetDriveFIXED() Local $aData, $aDrive = DriveGetDrive('FIXED') Local $aList[10] For $i = 0 To UBound($aDrive) - 1 $aList[$i] = '' Next If IsArray($aDrive) Then For $i = 1 To $aDrive[0] $aData = _WinAPI_GetDriveNumber($aDrive[$i]) If IsArray($aData) Then $aList[$aData[1]] &= StringUpper($aDrive[$i]) & ' ' EndIf Next EndIf For $i = 0 To UBound($aDrive) - 1 If $aList[$i] Then ConsoleWrite('HD Drive' & $i & ' => ' & $aList[$i] & @CRLF) EndIf Next EndFunc Func _GetDriveCDROM() Local $aData, $aDrive = DriveGetDrive('CDROM') Local $aList[10] For $i = 0 To UBound($aDrive) - 1 $aList[$i] = '' Next If IsArray($aDrive) Then For $i = 1 To $aDrive[0] $aData = _WinAPI_GetDriveNumber($aDrive[$i]) If IsArray($aData) Then $aList[$aData[1]] &= StringUpper($aDrive[$i]) & ' ' EndIf Next EndIf For $i = 0 To UBound($aDrive) - 1 If $aList[$i] Then ConsoleWrite('CDROM Drive' & $i & ' => ' & $aList[$i] & @CRLF) EndIf Next EndFunc I know that I know nothing
rsn Posted January 26, 2023 Posted January 26, 2023 I'd start with output from msinfo32: RunWait ( 'msinfo32 /report "%temp%\report.txt"' ) The output is vaguely INI like with [SectionNames] but no Key=Value so you'd have to search or massage the data to get what you're looking for.
spudw2k Posted January 27, 2023 Posted January 27, 2023 This might be of interest / use to you: ioa747 and rsn 2 Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF
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