SvenP Posted May 14, 2005 Author Posted May 14, 2005 figured it out myself, it needs to be an offset of 0 not 1<{POST_SNAPBACK}>Hello Gary,Thanks for debugging. I have replaced the scriptomatic.au3 in the first post.Regards,-Sven
Wus Posted May 14, 2005 Posted May 14, 2005 Dont really understand WMI stuff... but it looks like you made it a million times easier for me to learn and understand... looks real nice
lyledg Posted August 2, 2005 Posted August 2, 2005 SvenP, this is the one of the best tools I have come across. To have a WMI call now been able to compile into an executable is AWESOME! Thanks very much mate!!!
WSCPorts Posted August 3, 2005 Posted August 3, 2005 (edited) i thank u truely for answering my question about how to deal with _ at end of Lines Im exploring a way to use a Something to Copy the System NameSpace of .net Framework with autoit From this NameSpace of SuperClasses i think a lot more will be posible to autoit then even i can dream Using Compiled assemblies would allow autoit to Create it's own Object mapping so code Doesnt have to be rewritten :0_o: ill prolly fail but i will at least try... i need to read alot to know where to begin oh and btw NICe commenting job and awesome script!! bye.. for now.. WindowsScriptComponentPortability WSCPORTS Edited August 3, 2005 by WSCPorts http://www.myclanhosting.com/defiasVisit Join and contribute to a soon to be leader in Custumized tools development in [C# .Net 1.1 ~ 2.0/C/C++/MFC/AutoIt3/Masm32]
Administrators Jon Posted August 4, 2005 Administrators Posted August 4, 2005 Just had a play with this. Awesome. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
MSLx Fanboy Posted August 5, 2005 Posted August 5, 2005 ... Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate())
regisp Posted August 8, 2005 Posted August 8, 2005 hi ! i ve just tested the script but the field "Select a WMI class" show nothing else than this. Running the latest beta 3.1.1.66 so it seems hard to make queries without the possibility to select wmi class any idea ?
GaryFrost Posted August 8, 2005 Posted August 8, 2005 if running win 2k change the following from: $GUI_WMI_Namespace = GuiCtrlCreateCombo("WMI_Namespaces", 20, 50,280, 21) to $GUI_WMI_Namespace = GuiCtrlCreateCombo("WMI_Namespaces", 20, 50,280, 100) and From: $GUI_WMI_Classes = GuiCtrlCreateCombo("WMI_Classes", 320, 50,340, 21) to $GUI_WMI_Classes = GuiCtrlCreateCombo("WMI_Classes", 320, 50,340, 100) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
regisp Posted August 8, 2005 Posted August 8, 2005 aaaaaaaaaahhhhhhhhhhhhhhhhh great ! great ! great! thx a lot for the tip
Bing Posted December 28, 2005 Posted December 28, 2005 This is the AutoIt's version of Microsoft Scriptomatic tool. Which took me some hours to rewrite (yes, yes, I'm not such a fast script writer).If you don't know what Scriptomatic is, see:http://www.microsoft.com/technet/scriptcen...s/scripto2.mspxThis version is written in AutoIt script AND it produces an AutoIt script !Requirements: - AutoIt version 3.1.1.8 (or higher)- Some knowledge about WMIHave fun!Regards,-SvenEDIT 17-APR-2005: Updated with suggestions from gafrost and some other bugfixes. Now REQUIRES AutoIt beta version 3.1.1.8 or higher !EDIT 17-APR-2005 11PM: For the generated script you have now options for dialog, text or HTML output.EDIT 14-MAY-2005: Fixed a tiny bug: If the output contained an array-variable, I incorrectly used the index 1. But arrays start from index 0. Thanks gafrost !
Bing Posted December 28, 2005 Posted December 28, 2005 (edited) This is the AutoIt's version of Microsoft Scriptomatic tool. Which took me some hours to rewrite (yes, yes, I'm not such a fast script writer).If you don't know what Scriptomatic is, see:http://www.microsoft.com/technet/scriptcen...s/scripto2.mspxThis version is written in AutoIt script AND it produces an AutoIt script !Requirements: - AutoIt version 3.1.1.8 (or higher)- Some knowledge about WMIHave fun!Regards,-SvenEDIT 17-APR-2005: Updated with suggestions from gafrost and some other bugfixes. Now REQUIRES AutoIt beta version 3.1.1.8 or higher !EDIT 17-APR-2005 11PM: For the generated script you have now options for dialog, text or HTML output.EDIT 14-MAY-2005: Fixed a tiny bug: If the output contained an array-variable, I incorrectly used the index 1. But arrays start from index 0. Thanks gafrost ! Edited December 28, 2005 by Bing
Bing Posted December 28, 2005 Posted December 28, 2005 Thank you Sven for the AutoIt version of MS Scriptomatic! I am running AuotIt version v3.1.1.98 and am having problems getting the scriptomatic.au3 to run. The error message is "Unterminated string in ..\scriptomatic.au3, line 346. Line 346: $strScriptCode = $strScriptCode & "$Output = $Output & '<html><head><title>Scriptomatic HTML Output</title></head><body> _ <style>table {font-size: 10pt; font-family: arial;} th {background-color: buttonface; font-decoration: bold;} _ </style><table BORDER=" & Chr(34) & "1" & Chr(34) & "><tr><th>Property</th><th>Value</th></tr>'" & @CRLF Can anyone help with this? Is there a new scriptomatic.au3 available for download? Thanks, Bing
Developers Jos Posted December 28, 2005 Developers Posted December 28, 2005 (edited) Here is an updated version that takes care of the new Continuation character logic in the Beta release.. EDIT: Update HTML error. See last post with update.. Edited December 31, 2005 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
b0n3z Posted December 28, 2005 Posted December 28, 2005 Thank you Sven for the AutoIt version of MS Scriptomatic! I am running AuotIt version v3.1.1.98 and am having problems getting the scriptomatic.au3 to run. The error message is "Unterminated string in ..\scriptomatic.au3, line 346. Line 346: $strScriptCode = $strScriptCode & "$Output = $Output & '<html><head><title>Scriptomatic HTML Output</title></head><body> _ <style>table {font-size: 10pt; font-family: arial;} th {background-color: buttonface; font-decoration: bold;} _ </style><table BORDER=" & Chr(34) & "1" & Chr(34) & "><tr><th>Property</th><th>Value</th></tr>'" & @CRLF Can anyone help with this? Is there a new scriptomatic.au3 available for download? Thanks, Bing First off - AMAZING work! Bing - I just changed mine to this I'm still a newbie - but it seems to work for me. -Ken $strScriptCode = $strScriptCode & "$Output = $Output & '<html><head><title>Scriptomatic HTML Output</title></head><body>" & _ "<style>table {font-size: 10pt; font-family: arial;} th {background-color: buttonface; font-decoration: bold;}" & _ "</style><table BORDER=" & Chr(34) & "1" & Chr(34) & "><tr><th>Property</th><th>Value</th></tr>'" & @CRLF
Bing Posted December 28, 2005 Posted December 28, 2005 Awesome!!!!! Thanks a bunch,BingHere is an updated version that takes care of the new Continuation character logic in the Beta release..
Gigglestick Posted December 29, 2005 Posted December 29, 2005 Great tool! One of these days I might get it out of my head that I have to do everything the hard way and continuously re-invent the wheel just for the "experience" of it. My UDFs: ExitCodes
DJ VenGenCe Posted December 29, 2005 Posted December 29, 2005 How come the HTML portion crashes.. When I click the Radio Button. I am running latest beta.
Developers Jos Posted December 29, 2005 Developers Posted December 29, 2005 (edited) How come the HTML portion crashes.. When I click the Radio Button. I am running latest beta.Fixed the error ... see last post for updated version.. Edited December 31, 2005 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Spooky Posted December 30, 2005 Posted December 30, 2005 I get this error when I try to use it: If $objQualifierDictionary.Exists("dynamic") Then If $objQualifierDictionary.E^ERROR Error: Unable to parse line.
MHz Posted December 30, 2005 Posted December 30, 2005 I get this error when I try to use it:If $objQualifierDictionary.Exists("dynamic") ThenIf $objQualifierDictionary.E^ERRORError: Unable to parse line.I also get that error if I do not run it with atleast the required beta version of AutoIt.; Author: SvenP; Date/version: 2005-04-17; See also: http://www.microsoft.com/technet/scriptcen...s/scripto2.mspx; Requires: AutoIt beta version 3.1.1.8 or higher (COM support!!)Using beta starts without error.
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