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

Table of Contents

Advertisement

Application Object
BrowseText
Syntax
BrowseText(sText, BaseHREF: OleVariant);
Displays the passed text in the internal browser. Use the
Description
interpret relative paths. For local files,
Example
function Main() {
Var sMessage;
sMessage = "You are viewing this text in the browse mode of your ";
sMessage = sMessage + VersionText;
with (Application){
BrowseText (sMessage);
}
}
CloseAll
Syntax
CloseAll(wbPromptToSave: WordBool): WordBool;
Closes all open documents. If
Description
any changes. Returns
wbPromptToSave
Example
function Main() {
with (Application){
CloseAll();
}
}
ExecCommand
Syntax
ExecCommand(nCmdID: integer, nOptions: integer);
Boolean. Execute a specific command based on its CommandID. For available
Description
commands, see
cursor movement commands to determine whether text is selected during cursor
movement (
pass
nOptions = 0
Example
function Main() {
with (Application){
ExecCommand(3); // Executes an Open File command.
}
}
wbPromptToSave
if successful, that is, the user didn't cancel if
True
is
.
True
"Table of CommandID Values" on page
) or unselected (
nOptions = 1
.
BaseHREF
is the folder that contains the file.
BaseHREF
is
, the user is prompted to save
True
282. Use
). For all other commands,
nOptions = 0
207
parameter to
with
nOptions

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