Loading |
VBScript |
JavaScript |
Powershell |
Search Options: WMI Win32_Word11SelectedTable QueryContent of WMI Win32_Word11SelectedTable Query.jsMD5 Hash: 68BC37BE13637E3FCB87C60991404659 |
||
var wbemFlagReturnImmediately = 0x10;
var wbemFlagForwardOnly = 0x20; var arrComputers = new Array("."); for (i = 0; i < arrComputers.length; i++) { WScript.Echo(); WScript.Echo("=========================================="); WScript.Echo("Computer: " + arrComputers[i]); WScript.Echo("=========================================="); var objWMIService = GetObject("winmgmts:\\\\" + arrComputers[i] + "\\root\\MSAPPS11"); var colItems = objWMIService.ExecQuery("SELECT * FROM Win32_Word11SelectedTable", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); var enumItems = new Enumerator(colItems); for (; !enumItems.atEnd(); enumItems.moveNext()) { var objItem = enumItems.item(); WScript.Echo("AllowAutoFit: " + objItem.AllowAutoFit); WScript.Echo("AllowPageBreaks: " + objItem.AllowPageBreaks); WScript.Echo("BottomMargin: " + objItem.BottomMargin); WScript.Echo("CellsAllowAutoFit: " + objItem.CellsAllowAutoFit); WScript.Echo("Columns: " + objItem.Columns); WScript.Echo("LeftIndent: " + objItem.LeftIndent); WScript.Echo("LeftMargin: " + objItem.LeftMargin); WScript.Echo("NestingLevel: " + objItem.NestingLevel); WScript.Echo("Page: " + objItem.Page); WScript.Echo("PreferredWidth: " + objItem.PreferredWidth); WScript.Echo("PreferredWidthType: " + objItem.PreferredWidthType); WScript.Echo("RightMargin: " + objItem.RightMargin); WScript.Echo("RowAlignment: " + objItem.RowAlignment); WScript.Echo("RowHeightRule: " + objItem.RowHeightRule); WScript.Echo("Rows: " + objItem.Rows); WScript.Echo("RowsAllowPageBreaks: " + objItem.RowsAllowPageBreaks); WScript.Echo("Section: " + objItem.Section); WScript.Echo("Spacing: " + objItem.Spacing); WScript.Echo("Tables: " + objItem.Tables); WScript.Echo("TopMargin: " + objItem.TopMargin); WScript.Echo("Uniform: " + objItem.Uniform); } } | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |