Play the shipping macro SAVEALL.WCM to display a list of open documents to select for saving. SAVEALL.WCM must be installed.
SaveToDriveAMacro
Syntax
SaveToDriveAMacro()
Description
Play the shipping macro SAVETOA.WCM to save the current document and make a copy of it on drive A. SAVETOA.WCM must be installed.
SaveUndoInformation
Syntax
SaveUndoInformation(State As _SaveUndoInformation_State_enum)
Description
Save Undo and Redo information with the current document. Saving Undo/Redo information increases the document size.
Parameters
State: enumeration No!
Yes!
ScrollScreenLeft
Syntax
ScrollScreenLeft()
Description
Scroll to the left side of the document window.
ScrollScreenRight
Syntax
ScrollScreenRight()
Description
Scroll to the right side of the document window.
SearchCaseSensitive
Syntax
SearchCaseSensitive(State As _SearchCaseSensitive_State_enum)
Description
Make Find case sensitive.
Parameters
State: enumeration No!
Yes!
SearchFindWholeWordsOnly
Syntax
SearchFindWholeWordsOnly(State As _SearchFindWholeWordsOnly_State_enum)
Description
Specify whether Find matches only a whole word (Yes!) or also matches partial words (No!).
Parameters
State: enumeration No!
Yes!
SearchInSelection
Syntax
SearchInSelection(State As _SearchInSelection_State_enum)
Description
Restrict the search to the selected text.
Parameters
State: enumeration No!
Yes!
SearchNext
Syntax
SearchNext([SearchMode As _SearchNext_SearchMode_enum])
Description
Search forward to find the next occurrence of the last search performed.
Parameters
SearchMode: enumeration (optional) An extended search includes substructures such as headers and footnotes.
Extended!
Regular!
SearchNextCurrentWord
Syntax
SearchNextCurrentWord([SearchMode As _SearchNextCurrentWord_SearchMode_enum])
Description
Find the next occurrence of the current selection or word.
Parameters
SearchMode: enumeration (optional) Extended!
Regular!
SearchPrevious
Syntax
SearchPrevious([SearchMode As _SearchPrevious_SearchMode_enum])
Description
Search backward to find the previous occurrence of the last search.
Parameters
SearchMode: enumeration (optional) An extended search includes substructures such as headers and footnotes.
Extended!
Regular!
SearchPreviousCurrentWord
Syntax
SearchPreviousCurrentWord([SearchMode As _SearchPreviousCurrentWord_SearchMode_enum])
Description
Find the previous occurrence of the current selection or word.
Parameters
SearchMode: enumeration (optional) Extended!
Regular!
SearchString
Syntax
SearchString(StrgToLookFor As String)
Description
Specify a search string. Follow with SearchNext or SearchPrevious.
Parameters
StrgToLookFor: string The text and/or codes to search for.
SearchWordForms
Syntax
SearchWordForms(State As _SearchWordForms_State_enum)
Description
Find and/or replace word forms.
Parameters
State: enumeration No!
Yes!
SearchWrap
Syntax
SearchWrap(State As _SearchWrap_State_enum)
Description
Specify whether Find searches from the beginning of a document after it reaches the end of a document.
Parameters
State: enumeration No!
Yes!
SecondaryPageNumber
Syntax
SecondaryPageNumber(Page As Integer)
Description
Specify a secondary page number and insert the code into a document. The code is inserted at the beginning of the page where the insertion point is located.
Parameters
Page: numeric The page number to insert.
SecondaryPageNumberDecrement
Syntax
SecondaryPageNumberDecrement()
Description
Decrease the current secondary page number by one.
SecondaryPageNumberDisplay
Syntax
SecondaryPageNumberDisplay()
Description
Insert a code at the insertion point that displays the current secondary page number. The number is updated as the document is modified.
SecondaryPageNumberIncrement
Syntax
SecondaryPageNumberIncrement()
Description
Increase the current secondary page number by one.
SecondaryPageNumberMethod
Syntax
SecondaryPageNumberMethod(NumberingMethod As _SecondaryPageNumberMethod_NumberingMethod_enum)
Description
Specify a numbering method for secondary page numbers.
Parameters
NumberingMethod: enumeration LowerLetters!
LowerRoman!
Numbers!
UpperLetters!
UpperRoman!
SelectAll
Syntax
SelectAll()
Description
Select all text and graphics in the current document.
SelectCell
Syntax
SelectCell()
Description
Select the current cell. Not valid for floating cells.
SelectCellDown
Syntax
SelectCellDown()
Description
Select from the insertion point down one row. In the bottom row, it does not select text or codes below a table.
SelectCellDownArrow
Syntax
SelectCellDownArrow()
Description
Select the current cell and one cell down. In the bottom row, it selects the current cell down to the line below the table. Not valid for floating cells.
SelectCellLeft
Syntax
SelectCellLeft()
Description
Select the current cell (cell containing the insertion point) and extend the selection to the previous cell. If the current cell is the first cell in the first row (A1), select the current cell. If the current cell is in the first column (column A) and not in the first row, select the current cell, extend the selection up one row, then continue to extend the selection to the rightmost column. The resulting selection includes the current row and the previous row with the insertion point in the last column of the previous row.
SelectCellRight
Syntax
SelectCellRight()
Description
Select the current cell and the next cell to the right. In the farthest-right cell, select the entire current row and the row below.
SelectCellUp
Syntax
SelectCellUp()
Description
Select the current cell and one cell above. In the top row of a table, do not select text or codes above the table.
SelectCellUpArrow
Syntax
SelectCellUpArrow()
Description
Select the current cell and one cell above. In the top row of a table, select from the insertion point to the line above the table.
SelectCharNext
Syntax
SelectCharNext()
Description
Select the text or code one character position to the right of the insertion point.
SelectCharPrevious
Syntax
SelectCharPrevious()
Description
Select the text or code one character position to the left of the insertion point.
SelectColumnBottom
Syntax
SelectColumnBottom()
Description
Select the text and codes from the insertion point to the bottom of the current column.
SelectColumnNext
Syntax
SelectColumnNext()
Description
Select the text and codes from the insertion point to the right one column. In the farthest-right column, select the text and codes from the insertion point to the beginning of the current line.
SelectColumnPrevious
Syntax
SelectColumnPrevious()
Description
Select the text and codes from the insertion point to the top of the current column, and from the bottom up to and including the corresponding line in the column to the left. In the farthest-left column, select the text and codes from the insertion point to the beginning of the current line.
SelectColumnTop
Syntax
SelectColumnTop()
Description
Select the text and codes from the insertion point to the top of the current column.
SelectDelete
Syntax
SelectDelete()
Description
Delete the selected text.
SelectDocBottom
Syntax
SelectDocBottom()
Description
Select the text and codes from the insertion point to the end of the document.
SelectDocTop
Syntax
SelectDocTop()
Description
Select the text and codes from the insertion point to the beginning of the document.
SelectDocVeryTop
Syntax
SelectDocVeryTop()
Description
Select the text and codes from the insertion point to the very beginning of the document, before all codes.
SelectedReplaceString
Syntax
SelectedReplaceString(RplcString As String, [State As _SelectedReplaceString_State_enum])
Description
Replace a search string with specified text.
Parameters
RplcString: string The replacement text.
State: enumeration (optional) UseAlways!
SelectLineBegin
Syntax
SelectLineBegin()
Description
Select the text and codes from the insertion point to the beginning of the current line.
SelectLineDown
Syntax
SelectLineDown()
Description
Select the text and codes from the insertion point down one line.
SelectLineEnd
Syntax
SelectLineEnd()
Description
Select the text and codes from the insertion point to the end of the current line.
SelectLineUp
Syntax
SelectLineUp()
Description
Select the text and codes from the insertion point backward to the corresponding position on the line above.
SelectLineVeryBegin
Syntax
SelectLineVeryBegin()
Description
Select the text and codes from the insertion point to the beginning of the current line, before any codes.
SelectLineVeryEnd
Syntax
SelectLineVeryEnd()
Description
Select the text and codes from the insertion point to the end of the current line, after all text and codes.
SelectMode
Syntax
SelectMode([State As _SelectMode_State_enum])
Description
Turn Select on or off. Default: toggle. Use the Arrow keys to extend a selection.
Parameters
State: enumeration (optional) Off!
On!
SelectOff
Syntax
SelectOff()
Description
Turn off Select.
SelectOn
Syntax
SelectOn(SelectMode As _SelectOn_SelectMode_enum)
Description
Turn on Select and specify the mode.
Parameters
SelectMode: enumeration CharMode!
CharNoCellMode!
DocMode!
PageMode!
ParagraphMode!
RectangleMode!
SentenceMode!
TabularColumnsMode!
WordMode!
SelectOnEmptyDoc
Syntax
SelectOnEmptyDoc(SelectMode As _SelectOnEmptyDoc_SelectMode_enum)
Description
Activate Select and specify a Select mode in an empty document.
Parameters
SelectMode: enumeration CharMode!
CharNoCellMode!
DocMode!
PageMode!
ParagraphMode!
RectangleMode!
SentenceMode!
TabularColumnsMode!
WordMode!
SelectPage
Syntax
SelectPage()
Description
Select all the text on the current page.
SelectPageNext
Syntax
SelectPageNext()
Description
Select the text and codes from the insertion point to the beginning of the next page. On the last page, select text and codes from the insertion point to the end of the document.
SelectPagePrevious
Syntax
SelectPagePrevious()
Description
Select the text and codes from the insertion point to the beginning of the previous page. On the first page, select the text and codes from the insertion point to the beginning of the document.
SelectParagraph
Syntax
SelectParagraph()
Description
Select the current paragraph and the subsequent codes until the text resumes.
SelectParagraphNext
Syntax
SelectParagraphNext()
Description
Select the text and codes from the insertion point to the beginning of the next paragraph. In the last paragraph, select the text and codes from the insertion point to the end.
SelectParagraphPrevious
Syntax
SelectParagraphPrevious()
Description
Select the text and codes from the insertion point to the beginning of the current paragraph. At the beginning of a paragraph, select the text and codes from the insertion point to the beginning of the preceding paragraph.
SelectRectangle
Syntax
SelectRectangle()
Description
Select a rectangle. SelectMode must be on (press F8) to record. Use the positioning keys to extend the selection.
SelectSave
Syntax
SelectSave(Filename As String)
Description
Save the selected text as a new file.
Parameters
Filename: string The filename for the selected text.
SelectScreenDown
Syntax
SelectScreenDown()
Description
Select the text and codes from the insertion point to the bottom of the screen. If the insertion point is already at the bottom of the screen, select the text and codes from the insertion point to the bottom of the next screen.
SelectScreenLeft
Syntax
SelectScreenLeft()
Description
Select the current line from the insertion point to the left side of the screen. If the insertion point is already at the left side, select the current line from the insertion point to the left side of the next screen, or to the left margin of a document.
SelectScreenRight
Syntax
SelectScreenRight()
Description
Select the current line from the insertion point to the right side of the screen. If the insertion point is already at the right side, select the current line from the insertion point to the right side of the next screen, or to the right margin of a document. Not recordable.
SelectScreenUp
Syntax
SelectScreenUp()
Description
Select the text and codes from the insertion point to the top of the screen. If the insertion point is already at the top of the screen, select the text and codes from the insertion point to the top of the next screen.
SelectSentence
Syntax
SelectSentence()
Description
Select the current sentence.
SelectSentenceNext
Syntax
SelectSentenceNext()
Description
Select the text and codes from the insertion point to the beginning of the next sentence.
SelectSentencePrevious
Syntax
SelectSentencePrevious()
Description
Select the text and codes from the insertion point to the end of the previous sentence.
SelectTable
Syntax
SelectTable()
Description
Select all cells in the current table. If the insertion point is not in a table, the macro ends or goes to the ONERROR label.
SelectTableColumn
Syntax
SelectTableColumn()
Description
Select all cells in the current column of a table.
SelectTableColumnExtendLeft
Syntax
SelectTableColumnExtendLeft()
Description
Select the text and codes from the insertion point to the beginning of the current row.
SelectTableColumnExtendRight
Syntax
SelectTableColumnExtendRight()
Description
Select the text and codes from the insertion point to the beginning of the last column.
SelectTableRow
Syntax
SelectTableRow()
Description
Select all cells in the current row.
SelectTabularColumn
Syntax
SelectTabularColumn()
Description
Select one or more tabular columns. SelectMode must be on to record (press F8). Use the positioning keys to extend the selection.
SelectToggle
Syntax
SelectToggle()
Description
Toggle Select mode.
SelectWord
Syntax
SelectWord()
Description
Select the current word.
SelectWordNext
Syntax
SelectWordNext()
Description
Select the text and codes from the insertion point to the beginning of the next word.
SelectWordPrevious
Syntax
SelectWordPrevious()
Description
Select the text and codes from the insertion point to the end of the previous word.