Microsoft Word Suite
Command: show heading
Shows all headings up to the specified heading level and hides subordinate headings and body text.
Note This command generates an error if the view isnt outline view or master document view.
show heading view Required. An expression that returns a view object.
level integer Required. The outline heading level (a number from 1 to 9).
This example switches the active window to outline view and displays all text that's formatted with
the Heading 1 style. Body text and all other types of headings are hidden.
set view type of view of active window to outline view
show heading view of active window level 1
This example switches the window for Document1 to outline view and displays all text that's
formatted with the Heading 1, Heading 2, or Heading 3 style.
set view type of view of window "Document1" to outline view
show heading view of window "Document1" level 3
Command: show me
Displays the Office Assistant or the Help window when there's more information available. If
additional information isn't available, this command generates a message that no associated Help
This example completes a TipWizard Show Me action if one is available.
Command: shrink discontiguous selection
Deselects all but the most recently selected text when a selection contains multiple, unconnected selections.
shrink discontiguous selection selection Required. An expression that returns a selection object.
This example deselects all but the most recently selected text and formats with bold and small caps the text
remaining in the selection. This example assumes there are multiple selections in the document.
shrink discontiguous selection selection
set bold of font object of selection to true
set small caps of font object of selection to true