Automatically capitalize the first letter of each sentence as it is typed.
Parameters
State: enumeration Off!
On!
CaseToggle
Syntax
()
Description
Change the selected text to uppercase or lowercase.
Center
Syntax
()
Description
Insert a [Hd Center on Marg] code at the insertion point, centering the current line of text from the insertion point to the next justification code or [HRt] code.
CenterCurrentPage
Syntax
(State: enumeration)
Description
Center the current page vertically.
Parameters
State: enumeration Off!
On!
CenterPageDlg
Syntax
()
Description
Display the Center Page(s) dialog box.
CenterPages
Syntax
(State: enumeration)
Description
Center the current and subsequent pages vertically.
Parameters
State: enumeration Off!
On!
ChangeWatermarkGraphicShade
Syntax
(Amount: numeric)
Description
Change the shading of a watermark image.
Parameters
Amount: numeric How much to lighten or darken the shade of a watermark image.
ChangeWatermarkTextShade
Syntax
(Amount: numeric)
Description
Change the shading of watermark text.
Parameters
Amount: numeric How much to lighten or darken the shade of text in a watermark.
ChapterNumber
Syntax
(Chapter: numeric)
Description
Specify a chapter number.
Parameters
Chapter: numeric The number for the current chapter.
ChapterNumberDecrement
Syntax
()
Description
Decrease the chapter number by one.
ChapterNumberDisplay
Syntax
()
Description
Insert the chapter number at the insertion point.
ChapterNumberIncrement
Syntax
()
Description
Increase the chapter number by one.
ChapterNumberMethod
Syntax
(Method: enumeration)
Description
Specify a chapter numbering method.
Parameters
Method: enumeration LowerLetters!
LowerRoman!
Numbers!
UpperLetters!
UpperRoman!
Char
Syntax
(Character: variable; Prompt: string)
Description
Prompt the user for a keystroke, then assign the ASCII numeric equivalent of the keystroke to the variable specified in the Character parameter. Only one keystroke is accepted. If more than one character is entered, only the first is accepted. Not recordable.
Parameters
Character: variable The first character typed.
Prompt: string(optional) The message prompting the user to type a character.
CharMappingDlg
Syntax
()
Description
Display the Document Character Map dialog box.
CheckBoxShippingMacro
Syntax
()
Description
Play the shipping macro CHECKBOX.WCM to create check boxes in a document that can be changed by clicking on them. CHECKBOX.WCM must be installed.
CleanUpSpaces
Syntax
(State: enumeration)
Description
Turn Cut and Paste Cleanup on or off.
Parameters
State: enumeration Off!
On!
ClearDoc
Syntax
()
Description
Close the current document without saving and leave the current window open.
ClearUndoLevels
Syntax
()
Description
Delete all Undos associated with the current document.
ClipboardAppendTo
Syntax
()
Description
Append the currently selected text to the contents of the Clipboard.
ClipboardRetrieve
Syntax
()
Description
Insert the Clipboard contents at the insertion point.
ClipboardSaveTo
Syntax
()
Description
Save the selected text or graphics to the Clipboard, replacing existing Clipboard contents. If text or graphics are not selected before this command, macro ends or goes to the ONERROR label.
ClipboardShippingMacro
Syntax
()
Description
Play the shipping macro CLIPBRD.WCM to open the Clipboard Viewer. CLIPBRD.WCM must be installed.
Close
Syntax
(Save: enumeration)
Description
Close the current window or text editor.
Parameters
Save: enumeration (optional) Default: prompt user to save.
No!
Yes!
CloseAllShippingMacro
Syntax
()
Description
Play the shipping macro CLOSEALL.WCM to display the Close All Documents dialog box, which presents a list of all open documents with modified documents marked for saving. CLOSEALL.WCM must be installed.
CloseNoSave
Syntax
(Verify: enumeration)
Description
Close the current document without saving it.
Parameters
Verify: enumeration (optional) Prompt the user to verify close without saving. Default: no prompt.
PaletteName: string The name of the color palette.
PositionIndex: numeric The color position on the palette.
Red: numeric Value: 0-255.
Green: numeric Value: 0-255.
Blue: numeric Value: 0-255.
ColorName: string This parameter has been left in for backward compatibility with previous versions of WordPerfect. To specify a color in WordPerfect 8, use the Red, Green, and Blue parameters.
ColorDelete
Syntax
(PaletteName: string; ColorName: string)
Description
Remove a color from a color palette.
Parameters
PaletteName: string The name of the color palette.
ColorName: string This parameter has been left in for backward compatibility with previous versions of WordPerfect. To specify a color in WordPerfect 8, use the Red, Green, and Blue parameters.
VerticalSpacing: numeric The spacing between sections of text in parallel columns.
Spacing: measurement (optional) Alternate between specifying column width and the desired space between the columns. Always paired with the SpacingDef parameter. Enclose Spacing and SpacingDef parameters in braces ({}) separated by semicolons. For multiple columns, alternate Spacing and SpacingDef parameters.
SpacingDef: enumeration (optional) The definition of column width and spacing between columns.
Fixed!
NotFixed!
ColumnsOff
Syntax
()
Description
Turn off Columns.
ColumnsOn
Syntax
()
Description
Turn on Columns.
CommentConvert
Syntax
()
Description
Convert a comment to text.
CommentCreate
Syntax
()
Description
Open a new comment window in order to create a new comment.
CommentEdit
Syntax
()
Description
Open the comment editing screen in order to edit a comment.
CommentInformation
Syntax
()
Description
Display the Comment Information dialog box.
CommentInsertTime
Syntax
()
Description
Insert the current time into a comment.
CommentInsertUserInitials
Syntax
()
Description
Insert the user initials specified in Environment Preferences into a comment.
CommentInsertUserName
Syntax
()
Description
Insert the user name specified in the Environment Preferences dialog box into a comment.
CommentNext
Syntax
()
Description
Go to the next comment.
CommentPrevious
Syntax
()
Description
Go to the previous comment.
CommentsDisplaySetup
Syntax
(OnOff: enumeration)
Description
Turn comment display on or off in the current document for the current session. This command does not change display preferences for comments.
Parameters
OnOff: enumeration (optional) Off!
On!
ConditionalEndOfPage
Syntax
(LinesTogether: numeric)
Description
Keep a specified number of lines together at a page break. If a page break falls between the lines, the lines move to the next page.
Parameters
LinesTogether: numeric
ConvertCaseInitialCaps
Syntax
()
Description
Convert the selected text to lowercase, and capitalize the first letter of each word.
ConvertCaseLowercase
Syntax
()
Description
Convert the selected text to lowercase, except the first word of each sentence and "I" and its forms, such as "I'm" and "I've."
ConvertCaseUppercase
Syntax
()
Description
Convert the selected text to uppercase.
Copy
Syntax
()
Description
Copy the selected text. Use Paste to retrieve the copied text. Recordable substitute: EditCopy.
CopyAndPaste
Syntax
()
Description
Copy the selected text to the Clipboard. Use EditPaste or MoveModeEnd to paste the copied text into the current document. Included for DOS compatibility. Recordable substitutes: EditCopy and EditPaste.
CorelVersionArchiveCurrentDlg
Syntax
()
Description
Save a version of the current document.
CorelVersionRetrieveCurrentDlg
Syntax
()
Description
Retrieve any saved version of the current document.
CorelVersionRetrieveDocumentDlg
Syntax
()
Description
Retrieve any version already saved for any document.
CounterCreate
Syntax
(CounterName: any; {Method: enumeration})
Description
Specify a box reference number.
Parameters
CounterName: any EquationCounter!
FigureCounter!
None!
TableBoxCounter!
TextBoxCounter!
UserBoxCounter!
Method: enumeration (optional) The numbering method. To specify different numbering methods for each level, repeat the method parameter. Enclose repeating parameters in braces ({}) separated by a semicolon.
LowLetter!
LowRoman!
Numbers!
UpLetter!
UpRoman!
CounterDecrement
Syntax
(CounterName: any; Level: numeric)
Description
Decrease a counter level by one.
Parameters
CounterName: any EquationCounter!
FigureCounter!
None!
TableBoxCounter!
TextBoxCounter!
UserBoxCounter!
Level: numeric The level of the counter.
CounterDelete
Syntax
(CounterName: any)
Description
Delete a user-defined counter or reset a program-defined counter.
Parameters
CounterName: any EquationCounter!
FigureCounter!
None!
TableBoxCounter!
TextBoxCounter!
UserBoxCounter!
CounterDisplay
Syntax
(CounterName: any; Level: numeric)
Description
Display the counter value of a box or user-defined counter.
TagName: string (optional) The name for the target tag.
CtrlBreak
Syntax
()
Description
Cancel the current action in WordPerfect.
CustomBoxDlg
Syntax
()
Description
Display the Custom Box dialog box.
Cut
Syntax
()
Description
Remove the selected text and copy it to the Clipboard, replacing previous Clipboard contents. Included for DOS compatibility. Recordable substitute: EditCut.
CutAndPaste
Syntax
()
Description
Remove the selected text and copy to the Clipboard. Use EditPaste or MoveModeEnd to paste the selection in the current document. Included for DOS compatibility. Recordable substitutes: EditCut and EditPaste.