WMI ScriptOMatic tool for AutoIt
#81
Posted 16 February 2009 - 01:50 PM
Thanks for sharing this.wmi.script

#82
Posted 15 July 2009 - 04:40 PM
C:\Documents and Settings\Administrator\Desktop\scriptomatic.au3(27,117) : WARNING: $WS_OVERLAPPEDWINDOW: possibly used before declaration. GuiCreate("AutoIt Scriptomatic Tool", 684, 561,(@DesktopWidth-684)/2, (@DesktopHeight-561)/2 , $WS_OVERLAPPEDWINDOW + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Administrator\Desktop\scriptomatic.au3(27,131) : WARNING: $WS_VISIBLE: possibly used before declaration. GuiCreate("AutoIt Scriptomatic Tool", 684, 561,(@DesktopWidth-684)/2, (@DesktopHeight-561)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Administrator\Desktop\scriptomatic.au3(27,149) : WARNING: $WS_CLIPSIBLINGS: possibly used before declaration. GuiCreate("AutoIt Scriptomatic Tool", 684, 561,(@DesktopWidth-684)/2, (@DesktopHeight-561)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Administrator\Desktop\scriptomatic.au3(27,117) : ERROR: $WS_OVERLAPPEDWINDOW: undeclared global variable. GuiCreate("AutoIt Scriptomatic Tool", 684, 561,(@DesktopWidth-684)/2, (@DesktopHeight-561)/2 , $WS_OVERLAPPEDWINDOW + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Administrator\Desktop\scriptomatic.au3 - 1 error(s), 3 warning(s)
#83
Posted 15 July 2009 - 04:54 PM
You will have to figure out what *constants files to #include. This script is very old and the files have changed.Receiving the following errors when trying to launch AutoIT Scriptomatic (AutoIT 3.3.0.0 and SciTE 1.78 installed):
C:\Documents and Settings\Administrator\Desktop\scriptomatic.au3(27,117) : WARNING: $WS_OVERLAPPEDWINDOW: possibly used before declaration. GuiCreate("AutoIt Scriptomatic Tool", 684, 561,(@DesktopWidth-684)/2, (@DesktopHeight-561)/2 , $WS_OVERLAPPEDWINDOW + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Administrator\Desktop\scriptomatic.au3(27,131) : WARNING: $WS_VISIBLE: possibly used before declaration. GuiCreate("AutoIt Scriptomatic Tool", 684, 561,(@DesktopWidth-684)/2, (@DesktopHeight-561)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Administrator\Desktop\scriptomatic.au3(27,149) : WARNING: $WS_CLIPSIBLINGS: possibly used before declaration. GuiCreate("AutoIt Scriptomatic Tool", 684, 561,(@DesktopWidth-684)/2, (@DesktopHeight-561)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Administrator\Desktop\scriptomatic.au3(27,117) : ERROR: $WS_OVERLAPPEDWINDOW: undeclared global variable. GuiCreate("AutoIt Scriptomatic Tool", 684, 561,(@DesktopWidth-684)/2, (@DesktopHeight-561)/2 , $WS_OVERLAPPEDWINDOW + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Documents and Settings\Administrator\Desktop\scriptomatic.au3 - 1 error(s), 3 warning(s)
I think it's just
#include<WindowsConstants.au3> #Include<StaticConstants.au3> #Include<GUIConstantsEx.au3>
Or you can just use the compiled version in my signature.
#84
Posted 16 July 2009 - 02:47 PM
#85
Posted 16 July 2009 - 03:29 PM
GEOSoft:You will have to figure out what *constants files to #include. This script is very old and the files have changed.
I think it's just
#include<WindowsConstants.au3> #Include<StaticConstants.au3> #Include<GUIConstantsEx.au3>
Or you can just use the compiled version in my signature.
Thanks for the #includes, they worked perfectly. You absolutely rock for including the compiled version in your signature, I downloaded that as well.
#86
Posted 26 August 2009 - 10:58 AM
#87
Posted 25 October 2009 - 12:42 AM
This is what you need to add:
- #include <WindowsConstants.au3>
Change it to look like this:
; AutoIt ScriptOMatic ; ------------------- ; ; AutoIt's counterpart of Microsoft's Scriptomatic ; ; Author: SvenP ; Date/version: 2005-04-17 ; See also: <a href='http://www.microsoft.com/technet/scriptcenter/tools/scripto2.mspx' class='bbc_url' title='External link' rel='nofollow external'>http://www.microsoft.com/technet/scriptcenter/tools/scripto2.mspx</a> ; Requires: AutoIt beta version 3.1.1.8 or higher (COM support!!) ; ; GUI generated by AutoBuilder 0.5 Prototype #RequireAdmin ; <--- required for AutoIt 3.3.0.0+ #include <GuiConstants.au3> #include <WindowsConstants.au3> ; <--- required for AutoIt 3.3.0.0+ ;************************ ;* Global State Variables ;************************ $g_strCurrentNamespace = "\root\CIMV2" $g_iCurrentNamespaceIndex = 0 $g_strWMISource = "localhost" $g_strOutputFormat = "Dialog" ... ...
Edited by pixeldoc, 25 October 2009 - 12:47 AM.
#88
Posted 05 April 2010 - 01:52 AM
After 5 years, the met bugs are corrected (see details on script) and I took advantage of it to add the translation for French.
Here is thus my contribution.
I know that he can be still improved.
Attached Files
#89
Posted 09 April 2010 - 03:51 PM
thanks Tlem!Here is the version of ScriptOmatic.au3 that I updated for the French forum.
After 5 years, the met bugs are corrected (see details on script) and I took advantage of it to add the translation for French.
Here is thus my contribution.
I know that he can be still improved.
#90
Posted 29 October 2010 - 01:59 AM
MSNdis_80211_BaseServiceSetIdentifier
MSNdis_80211_ServiceSetIdentifier
Great tool by the way!
#91
Posted 29 October 2010 - 04:16 AM
No it isn't possible and the last Sven was seen around these parts is almost 4 years ago so you can pretty much figure that he isn't working on it any longer. I have a modified (Compiled version) available and someday I may get around to fixing some more bugs in it but it's not high on my priority list. Also Tlem has a version that he was working on but I have not looked at it yet.Is it possible to add these classes to the script?
MSNdis_80211_BaseServiceSetIdentifier
MSNdis_80211_ServiceSetIdentifier
Great tool by the way!
#92
Posted 29 November 2012 - 11:34 AM
#93
Posted 29 November 2012 - 11:54 AM
UDFs:
Active Directory (2012-10-12 - Version 1.3.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2012-10-07 - Version 0.9.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2013-01-21 - Version 0.3.1.1 released) - Download - General Help & Support - Example Scripts
WordEX (2012-12-29 - Version 1.3 released) - Download
ExcelEX (2013-05-11 - Alpha 4 released) - Download
#94
Posted 29 November 2012 - 04:15 PM
#95
Posted 29 November 2012 - 04:20 PM
The Sciptomatic script is quite old and AutoIt has changed a lot since then. One of those script breaking changes was that constants were moved to separate include files.
UDFs:
Active Directory (2012-10-12 - Version 1.3.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2012-10-07 - Version 0.9.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2013-01-21 - Version 0.3.1.1 released) - Download - General Help & Support - Example Scripts
WordEX (2012-12-29 - Version 1.3 released) - Download
ExcelEX (2013-05-11 - Alpha 4 released) - Download
#96
Posted 29 November 2012 - 04:56 PM
#97
Posted 29 November 2012 - 05:06 PM
When the message "Select a WMI class" is displayed in the "WMI Class" dropdown select one and click "Run".
UDFs:
Active Directory (2012-10-12 - Version 1.3.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2012-10-07 - Version 0.9.0.0 released) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2013-01-21 - Version 0.3.1.1 released) - Download - General Help & Support - Example Scripts
WordEX (2012-12-29 - Version 1.3 released) - Download
ExcelEX (2013-05-11 - Alpha 4 released) - Download
#98
Posted 29 November 2012 - 06:10 PM
Thanks, that worked. Now I just have to figure out how on earth to even use it.
Definitely worth the effort. There isn't much you cannot do with a machine through WMI, and Scriptomatic is a great place to start.
#99
Posted 30 November 2012 - 12:14 AM
#100
Posted 30 November 2012 - 01:03 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users






