MACROMEDIA COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO Use Manual page 220

Table of Contents

Advertisement

202
DocumentCount
Syntax
DocumentCount: integer (read-only)
Number of open documents.
Description
Example
function Main() {
Var sMessage;
with (Application){
sMessage = "There are ";
sMessage = sMessage + sDocumentCount + " open.\n";
sMessage = sMessage + sDocumentIndex + ".\n";
}
}
DocumentIndex
Syntax
DocumentIndex: Integer
Description
Tab index of current document.
Example
function Main() {
Var sMessage;
with (Application){
sMessage = "There are ";
sMessage = sMessage + sDocumentCount + " open.\n";
sMessage = sMessage + sDocumentIndex + ".\n";
}
}
ExeName
Syntax
ExeName: OleString (read-only)
Description
File name of application executable, including path.
Example
function Main() {
Var sExeName;
with (Application){
sExeName = ExeName;
}
}
// Get the number of open documents.
// Get the index of the current document.
// Get the number of open documents.
// Get the index of the current document.
// Store the path in a variable
Chapter 14 Scripting the Visual Tools Object Model

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO and is the answer not in the manual?

This manual is also suitable for:

Coldfusion studio 5

Table of Contents