Play the shipping macro SAVEALL.WCM to display a list of open documents to select for saving. SAVEALL.WCM must be installed.
SaveToDriveAMacro
Syntax
()
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
(State: enumeration)
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
()
Description
Scroll to the left side of the document window.
ScrollScreenRight
Syntax
()
Description
Scroll to the right side of the document window.
SearchCaseSensitive
Syntax
(State: enumeration)
Description
Make Find case sensitive.
Parameters
State: enumeration No!
Yes!
SearchFindWholeWordsOnly
Syntax
(State: enumeration)
Description
Specify whether Find matches only a whole word (Yes!) or also matches partial words (No!).
Parameters
State: enumeration No!
Yes!
SearchInSelection
Syntax
(State: enumeration)
Description
Restrict the search to the selected text.
Parameters
State: enumeration No!
Yes!
SearchNext
Syntax
(SearchMode: enumeration)
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
(SearchMode: enumeration)
Description
Find the next occurrence of the current selection or word.
Parameters
SearchMode: enumeration (optional) Extended!
Regular!
SearchPrevious
Syntax
(SearchMode: enumeration)
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
(SearchMode: enumeration)
Description
Find the previous occurrence of the current selection or word.
Parameters
SearchMode: enumeration (optional) Extended!
Regular!
SearchString
Syntax
(StrgToLookFor: string)
Description
Specify a search string. Follow with SearchNext or SearchPrevious.
Parameters
StrgToLookFor: string The text and/or codes to search for.
SearchWordForms
Syntax
(State: enumeration)
Description
Find and/or replace word forms.
Parameters
State: enumeration No!
Yes!
SearchWrap
Syntax
(State: enumeration)
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
(Page: numeric)
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
()
Description
Decrease the current secondary page number by one.
SecondaryPageNumberDisplay
Syntax
()
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
()
Description
Increase the current secondary page number by one.
SecondaryPageNumberMethod
Syntax
(NumberingMethod: enumeration)
Description
Specify a numbering method for secondary page numbers.
Parameters
NumberingMethod: enumeration LowerLetters!
LowerRoman!
Numbers!
UpperLetters!
UpperRoman!
SelectAll
Syntax
()
Description
Select all text and graphics in the current document.
SelectCell
Syntax
()
Description
Select the current cell. Not valid for floating cells.
SelectCellDown
Syntax
()
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
()
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
()
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
()
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
()
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
()
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
()
Description
Select the text or code one character position to the right of the insertion point.
SelectCharPrevious
Syntax
()
Description
Select the text or code one character position to the left of the insertion point.
SelectColumnBottom
Syntax
()
Description
Select the text and codes from the insertion point to the bottom of the current column.
SelectColumnNext
Syntax
()
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
()
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
()
Description
Select the text and codes from the insertion point to the top of the current column.
SelectDelete
Syntax
()
Description
Delete the selected text.
SelectDocBottom
Syntax
()
Description
Select the text and codes from the insertion point to the end of the document.
SelectDocTop
Syntax
()
Description
Select the text and codes from the insertion point to the beginning of the document.
SelectDocVeryTop
Syntax
()
Description
Select the text and codes from the insertion point to the very beginning of the document, before all codes.
SelectedReplaceString
Syntax
(RplcString: string; State: enumeration)
Description
Replace a search string with specified text.
Parameters
RplcString: string The replacement text.
State: enumeration (optional) UseAlways!
SelectLineBegin
Syntax
()
Description
Select the text and codes from the insertion point to the beginning of the current line.
SelectLineDown
Syntax
()
Description
Select the text and codes from the insertion point down one line.
SelectLineEnd
Syntax
()
Description
Select the text and codes from the insertion point to the end of the current line.
SelectLineUp
Syntax
()
Description
Select the text and codes from the insertion point backward to the corresponding position on the line above.
SelectLineVeryBegin
Syntax
()
Description
Select the text and codes from the insertion point to the beginning of the current line, before any codes.
SelectLineVeryEnd
Syntax
()
Description
Select the text and codes from the insertion point to the end of the current line, after all text and codes.
SelectMode
Syntax
(State: enumeration)
Description
Turn Select on or off. Default: toggle. Use the Arrow keys to extend a selection.
Parameters
State: enumeration (optional) Off!
On!
SelectOff
Syntax
()
Description
Turn off Select.
SelectOn
Syntax
(SelectMode: enumeration)
Description
Turn on Select and specify the mode.
Parameters
SelectMode: enumeration CharMode!
CharNoCellMode!
DocMode!
PageMode!
ParagraphMode!
RectangleMode!
SentenceMode!
TabularColumnsMode!
WordMode!
SelectOnEmptyDoc
Syntax
(SelectMode: enumeration)
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
()
Description
Select all the text on the current page.
SelectPageNext
Syntax
()
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
()
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
()
Description
Select the current paragraph and the subsequent codes until the text resumes.
SelectParagraphNext
Syntax
()
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
()
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
()
Description
Select a rectangle. SelectMode must be on (press F8) to record. Use the positioning keys to extend the selection.
SelectSave
Syntax
(Filename: string)
Description
Save the selected text as a new file.
Parameters
Filename: string The filename for the selected text.
SelectScreenDown
Syntax
()
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
()
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. Not recordable.
SelectScreenRight
Syntax
()
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
()
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
()
Description
Select the current sentence.
SelectSentenceNext
Syntax
()
Description
Select the text and codes from the insertion point to the beginning of the next sentence.
SelectSentencePrevious
Syntax
()
Description
Select the text and codes from the insertion point to the end of the previous sentence.
SelectTable
Syntax
()
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
()
Description
Select all cells in the current column of a table.
SelectTableColumnExtendLeft
Syntax
()
Description
Select the text and codes from the insertion point to the beginning of the current row.
SelectTableColumnExtendRight
Syntax
()
Description
Select the text and codes from the insertion point to the beginning of the last column.
SelectTableRow
Syntax
()
Description
Select all cells in the current row.
SelectTabularColumn
Syntax
()
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
()
Description
Toggle Select mode.
SelectWord
Syntax
()
Description
Select the current word.
SelectWordNext
Syntax
()
Description
Select the text and codes from the insertion point to the beginning of the next word.
SelectWordPrevious
Syntax
()
Description
Select the text and codes from the insertion point to the end of the previous word.