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)
Summary of Contents for ColdFusion Server 5
Page 18: ...xviii About This Book...
Page 26: ...8 Chapter 1 Setting Up the Product...
Page 42: ...24 Chapter 2 Configuring Browsers and Servers...
Page 60: ...42 Chapter 3 Exploring the Workspace...
Page 100: ...82 Chapter 6 Editing Pages...
Page 126: ...108 Chapter 7 Using Web Development Languages...
Page 212: ...194 Chapter 13 Customizing the Development Environment...
Page 320: ...302 Glossary...