Methods - MACROMEDIA COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO Use Manual

Table of Contents

Advertisement

234
SelText
Syntax
SelText: OleString
Gets and sets the text in the current selection.
Description
Example
function Main() {
var sMessage;
sMessage = "The length of the selected text of your document is ";
with (Application) {
sMessage = sMessage + ActiveDocument.SelText;
MessageBox(sMessage, VersionText, 0);
}
}
TabIndex
Syntax
TabIndex
Description
Gets and sets the tab index of the document tab.
Example
function Main(){
with (Application){
if (ActiveDocument.TabIndex != 0){
}
}
}
Text
Syntax
Text: OleString
Gets and sets the complete document text.
Description

Methods

BeginUpdate
Syntax
BeginUpdate();
Description
Turns off screen updating for the active document. This is useful if your script needs
to make several changes to the active document at once—turning off screen
updating during the procedure might significantly speed up the process. To turn on
updating again, use
Use
BeginUpdate...EndUpdate
to
BeginUpdate
view any changes made in the editor.
DocumentIndex = 0;
.
EndUpdate
, or if the script crashes before
Chapter 14 Scripting the Visual Tools Object Model
with caution. If you fail to call
EndUpdate
after a call
EndUpdate
is called, the user cannot

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