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

Table of Contents

Advertisement

200
}
AppPath
Syntax
AppPath: OleString (read-only)
Path to application executable.
Description
Example
function Main() {
var sPath;
with (Application) {
sPath = AppPath; // Store the path in a variable
}
}
CurrentFolder
Syntax
CurrentFolder: OleString
Description
Path currently displayed in the local file list.
Example
function Main(){
with (Application){
CurrentFolder = 'C:\\InetPub\\wwwroot';
}
}
CurrentView
Syntax
CurrentView: ITCurrentViewType
Description
Sets/gets the current view.
The following values are allowed:
1 - vwEditSource
2 - vwPreview (browse)
3 - vwHelp
The value 3 applies only if the Help tab is already visible in the application.
Example
function Main() {
with (Application){
CurrentView = 2; // Set the view to Browse
}
}
}
default: {
sMessage = 'an unknown application type';
}
}MessageBox('You are enjoying ' + sMessage + '.',
'Application Type', 0);
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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion studio 5

Table of Contents