User Guide

Application Object 221
Example function Main(){
var sFolder1 = ’C:\\Program Files\\Bradbury\TopStyle2’;
var sFolder2 = ’C:\\InetPub\\wwwroot’;
with (Application) {
SetFileTabFolder(1, sFolder1);
SetFileTabFolder(2, sFolder2);
}
}
SetProgress
Syntax SetProgress(nProgress: Integer);
Description Sets the position of the progress bar in the status area.
The following values are allowed:
1-100.
Example function Main() {
with (Application) {
SetProgress (15);
}
}
SetStatusText
Syntax SetStatusText(sMessage: OleString);
Description Sets the text that displays in the status area.
Example
function Main() {
with (Application) {
SetStatusText("Progress Indicator: ");
}
}
ShellToApp
Syntax ShellToApp(const wsAppFileName: WideString): WordBool;
Description Executes an external application. Returns True if application launched successfully.
You can include command lines in the file name parameter, so the following syntax is
valid:
Application.ShellToApp("notepad.exe " +
Application.ActiveDocument.Filename)