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

Table of Contents

Advertisement

238
InsertTag
Syntax
InsertTag(sStartTag, sEndTag: OleVariant; wbOverwriteSelection:
WordBool);
Description
Boolean. Inserts the passed tag pair at the current cursor position, overwriting the
selection if
start and end tags after this operation. If
surround the current selection.
Example
function Main(){
with (Application){
ActiveDocument.CursorDocEnd(false);
ActiveDocument.InsertTag('<a href="http://www.macromedia.com">',
}
}
InsertText
Syntax
InsertText(InsertStr: OleVariant; wbOverwriteSelection: WordBool);
Boolean. Inserts the passed string at the current cursor position. If
Description
wbOverwriteSelection
LastSavedDate
Syntax
LastSavedDate();
Description
Returns the datetime value for the last save of the active document file.
Example
function Main(){
with (Application){
SetStatusText('Last save: ' + ActiveDocument.LastSavedDate());
}
}
Print
Syntax
Print(wbNoPrompt: WordBool);
Description
Boolean. Prints the active document. If
print settings.
Redo
Syntax
Redo();
Performs a single
Description
wbOverwriteSelection
'</a>', true);
is
this function overwrites the selection.
True,
operation.
redo
Chapter 14 Scripting the Visual Tools Object Model
is
. The cursor is positioned between the
True
wbOverwriteSelection
is
wbNoPrompt
False,
is
, the tags
False
prompts the user for

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?

Questions and answers

This manual is also suitable for:

Coldfusion studio 5

Table of Contents