Jump to content
Sign in to follow this  
shawniverson

Small Edit for AutoIT WMI Script-o-Matic

Recommended Posts

shawniverson

Hello everybody!

This is my very first post on the AutoIt forums, so if I make an obvious newbie mistake, oops...just let me know :-)

I downloaded SvenP's AutoIt Scriptomatic from the Downloads section of the AutoIt forums because I wanted to generate some WMI code for my scripts, and I quickly noticed that the "GuiConstants.au3" include was deprecated sometime after AutoIt 3.2.x, replaced with a much smaller "GuiConstantsEx.au3" instead. Many of the constants that SvenP's script needs come out of the GuiConstants.au3 from the AutoIt 3.1.x version. Anyway, I simply downloaded it, dropped it in my Include folder, and the script started working. I would like to save others who wish to use this wonderful script the hassle of having to go through this step. I'm going to try to contact the author first, but in case he doesn't respond, is it okay (and safe) to drop the old GuiConstants.au3 into SvenP's script and make it available for others to download? I'm not sure why the old GuiConstants.au3 was deprecated. Anyway, it is a very simple edit.

--

Shawn

Share this post


Link to post
Share on other sites
ResNullius

Micoman recommends putting the following in the script to get it to work, but when I tried it, it didn't work...

#include <WindowsConstants.au3>

http://www.autoitscript.com/forum/index.ph...10534&st=75

--

Shawn

#include <GUIConstantsEx.au3>

#include <WindowsConstants.au3>

Share this post


Link to post
Share on other sites
shawniverson

#include <GUIConstantsEx.au3>

#include <WindowsConstants.au3>

oic...duh! Thanks!

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.