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

Table of Contents

Advertisement

ActiveDocument Object
CaretPosX
Syntax
CaretPosX: integer (read-only)
The X-axis caret position.
Description
Example
function Main(){
with (Application){
if (ActiveDocument.CaretPosX > 1){
}
}
}
CaretPosY
Syntax
CaretPosY: integer (read-only)
Description
The Y-axis caret position.
Example
function Main(){
with (Application){
if (ActiveDocument.CaretPosY > 1){
}
}
}
Filename
Syntax
Filename: OleString (read-only)
File name of the active document.
Description
Example
function Main() {
var sMessage;
sMessage = "Your file name is: ";
with (Application) {
sMessage = sMessage + ActiveDocument.Filename;
MessageBox(sMessage, VersionText, 0);
}
}
ActiveDocument.CursorLineStart(false);
ActiveDocument.CursorDocStart(false);
231

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?

This manual is also suitable for:

Coldfusion studio 5

Table of Contents