dinodod Posted January 27, 2007 Share Posted January 27, 2007 I'm in the midst of making my 1st project (which is a massive undertaking, considering what it can do already and what I want it to do later) and I came across a snippet of code that allows AUTOIT to use WMI controls I have glanced over the UDF Library and haven't seen much as far as WMI's (or I just missed it) so I was thinking of perhaps working on such a UDF. Of course the problem is that WMI is a entire scripitng solution in itself and being able to manipulate it easily would be something in itself. While I have need for a few of the functions, I have a feeling this might be in itself a bit much fo a UDF. Well, if nothing else, I can at least post my example WMI functions. Digital Chaos - Life as we know it today.I'm a Think Tank. Problem is, my tank is empty.The Quieter you are, the more you can HearWhich would you choose - Peace without Freedom or Freedom without Peace?Digital Chaos Macgyver ToolkitCompletely Dynamic MenuSQLIte controlsAD FunctionsEXCEL UDFPC / Software Inventory UDFPC / Software Inventory 2GaFrost's Admin Toolkit - My main competitor :)Virtual SystemsVMWAREMicrosoft Virtual PC 2007 Link to comment Share on other sites More sharing options...
dinodod Posted January 27, 2007 Author Share Posted January 27, 2007 While I understand that WMI provides a lot of useful information and is read-only (from my limited knowledge in WMI), I have grown up using the registry for all my needs. Just about everyting that WMI provides, can generally be found in the registry if you look hard enough. I could be mistaken but I do not believe that WMI actually queries the devices directly looking for information. So if all it does is query the Registry, I wonder if I shouldn't just use the registry read functions instead. makes scripting a whole lot easier for me. Digital Chaos - Life as we know it today.I'm a Think Tank. Problem is, my tank is empty.The Quieter you are, the more you can HearWhich would you choose - Peace without Freedom or Freedom without Peace?Digital Chaos Macgyver ToolkitCompletely Dynamic MenuSQLIte controlsAD FunctionsEXCEL UDFPC / Software Inventory UDFPC / Software Inventory 2GaFrost's Admin Toolkit - My main competitor :)Virtual SystemsVMWAREMicrosoft Virtual PC 2007 Link to comment Share on other sites More sharing options...
ptrex Posted January 27, 2007 Share Posted January 27, 2007 @dinododSo if all it does is query the RegistryWrong my friend. WMI stores all the data in a WMI database which is used to QRY all the data through the Control WMI does not QRY the registry.regardsptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 27, 2007 Moderators Share Posted January 27, 2007 1. I'm curious on what this has to do with the "Example Scripts" forum since I see no code.2. http://www.autoitscript.com/forum/index.ph...ost&p=73501 Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
dinodod Posted January 28, 2007 Author Share Posted January 28, 2007 1. I'm curious on what this has to do with the "Example Scripts" forum since I see no code.2. http://www.autoitscript.com/forum/index.ph...ost&p=735011. I did say I was working on a script2. *TEARS IN EYES* WOW, it's so beautiful . Thank you for showing me this. What he did was re-write scriptomatic but in AU3 format, which is incredible in itself. I was going to make something that wuld query WMI based of an input of sort but his script is much more to the point Digital Chaos - Life as we know it today.I'm a Think Tank. Problem is, my tank is empty.The Quieter you are, the more you can HearWhich would you choose - Peace without Freedom or Freedom without Peace?Digital Chaos Macgyver ToolkitCompletely Dynamic MenuSQLIte controlsAD FunctionsEXCEL UDFPC / Software Inventory UDFPC / Software Inventory 2GaFrost's Admin Toolkit - My main competitor :)Virtual SystemsVMWAREMicrosoft Virtual PC 2007 Link to comment Share on other sites More sharing options...
dinodod Posted January 28, 2007 Author Share Posted January 28, 2007 @dinododWrong my friend. WMI stores all the data in a WMI database which is used to QRY all the data through the Control WMI does not QRY the registry.regardsptrexHence the disclaimer I stated where I have limited knowledge in WMI. Digital Chaos - Life as we know it today.I'm a Think Tank. Problem is, my tank is empty.The Quieter you are, the more you can HearWhich would you choose - Peace without Freedom or Freedom without Peace?Digital Chaos Macgyver ToolkitCompletely Dynamic MenuSQLIte controlsAD FunctionsEXCEL UDFPC / Software Inventory UDFPC / Software Inventory 2GaFrost's Admin Toolkit - My main competitor :)Virtual SystemsVMWAREMicrosoft Virtual PC 2007 Link to comment Share on other sites More sharing options...
LoWang Posted February 21, 2007 Share Posted February 21, 2007 (edited) 1. I did say I was working on a script2. *TEARS IN EYES* WOW, it's so beautiful . Thank you for showing me this. What he did was re-write scriptomatic but in AU3 format, which is incredible in itself. I was going to make something that wuld query WMI based of an input of sort but his script is much more to the point Yes it's nice, but you know what's better? WMICodeCreator! Check it out and rewrite this one! Edited February 21, 2007 by LoWang 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