PSpell(short cRange, PMBool bWrapAround, PMBool bAltSpell, PMBool bShowDup,
PMBool bIgnore);
Story editor only. The PSpell command works only in story editor.short cRange;
kFCSSelectedText to spell-check only selected text
kFCSCurrentStory to spell-check only the current story, starting from position of insertion point (default setting)
kFCSAllStories to spell-check all stories in current publication, starting from beginning of currently active story
kFCSDefault to use default or previously defined range
kParmDontCare to let system choose range based on current text selection. If text is selected, PSpell spell-checks only selected text; if no text is selected, PSpell spell-checks only the current story, starting from position of insertion point.PMBool bWrapAround;
false to stop checking when PageMaker reaches end of story
true to continue checking from beginning of story when PageMaker reaches end of story (default setting)PMBool bAltSpell;
false not to display alternative spellings in the Spelling dialog box
true to display alternative spellings in the Spelling dialog boxPMBool bShowDup;
false not to highlight a duplicate word
true to highlight a duplicate word (default setting)PMBool bIgnore;
false to highlight each occurrence of an unrecognized word
true to highlight only first occurrence of an unrecognized word and ignore all other instances of it (default setting)
Current publication only. Unlike the Spelling dialog box, the PSpell command cannot search multiple publications. It can search only the stories in the currently active publication.
bWrapAround. PageMaker disregards the bWrapAround parameter in two cases, when cSearchRange is set to either:
Example. The following example begins spell-checking all the stories and selects the first unrecognized word.
PSpell(kFCSAllStories, true, true, true, true);
The PGetPMInfo, PGetSpellResult, and PGetSpellWindow queries
Adobe PageMaker 6.5 Help > Commands > Utilities > Spelling
Comments or suggestions? Contact Adobe Developer Support