User Guide
Application object 247
RunCodeSweeper
Syntax RunCodeSweeper();
Description Runs the CodeSweeper on the current document using the active CodeSweeper. To
change the active CodeSweeper, use
SetActiveCodeSweeper.
Example
function Main() {
with (Application) {
RunCodeSweeper ();
}
}
SaveAll
Syntax SaveAll(): WordBool;
Description Boolean. Saves all open documents. Returns True if successful.
Example
function Main() {
with (Application) {
SaveAll ();
}
}
SaveResultsToFile
Syntax SaveResultsToFile(const wsFile): WideString;
Description Saves the contents of the active Results window to the named file.
Example
function Main() {
with (Application) {
SaveResultsToFile();
}
}
SendToBack
Syntax SendToBack();
Description Sends the main window behind the other applications.
Example
function Main() {
with (Application) {
SendToBack ();
}
}