Jump to content

New UDF - WMI Controls


dinodod
 Share

Recommended Posts

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

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

Link to comment
Share on other sites

  • Moderators

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

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

1. I did say I was working on a script

2. *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

@dinodod

Wrong my friend. :D

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.

regards

ptrex

Hence 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

  • 4 weeks later...

1. I did say I was working on a script

2. *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 :whistle:

Yes it's nice, but you know what's better? WMICodeCreator! Check it out and rewrite this one! :)

Edited by LoWang
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...