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

Table of Contents

Advertisement

Application Object
with (Application) {
sInput = InputBox(VersionText, "What is your name?", "Alex");
sOutput
MessageBox (sOutput, VersionText, 0);
}
}
IsFileOpen
Syntax
IsFileOpen(sFile: OleVariant): WordBool;
Description
Boolean. Returns
Example
function Main(){
sFile = 'D:\\Test\\index.html';
with (Application){
if (!IsFileOpen(sFile)){
}
}
}
IsFileModified
Syntax
IsFileModified(sFile: OleVariant): WordBool;
Boolean. Returns
Description
modified.
Example
function Main(){
with (Application){
// Save current file if it is modified
if (IsFileModified(ActiveDocument.FileName)){
}
}
}
InstallParserScript
Syntax
InstallParserScript(const
WordBool;
Boolean. Returns
Description
associates it with the passed list of semicolon-separated file extensions. If an existing
parser is assigned to any of these extensions, they are removed from the existing
parser and assigned to the new one. The parser script is copied from the passed
location to the application \Parsers subdirectory.
= "I know you, your name is " + sInput + ".";
if the passed file is open in the Document tab.
True
OpenFile(sFile);
if the passed file is open in the Document tab and was
True
ActiveDocument.Save();
on error. Installs a parser (color-coding) script and
False
wsScriptFile,
wsFileExtAssoc:
215
WideString):

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