Application object
Example
function Main(){
}
StatusWarning
Syntax
StatusWarning(const wsMsg: WideString);
Description
Displays a warning message in the status bar. Message appears on a blue
background and displays for at least 5 seconds.
Example
function Main(){
}
TagCase
Syntax
TagCase(const wsTag: WideString): WideString;
Description
Changes the case of the passed string based on the "Lowercase all inserted tags"
setting in the Options > Settings > Markup Languages panel. Does not modify the
case of attribute values.
Example
function Main(){
}
ToolbarDir
Syntax
ToolbarDir: WideString (read-only);
Description
Returns the path where toolbar files are located.
Example
function Main(){
}
with (Application){
if (ActiveDocument.Modified){
StatusError('Current document is modified');
}
}
with (Application){
if (ActiveDocument.ReadOnly){
StatusWarning('Current document is read-only');
}
}
with (Application){
ActiveDocument.InsertText(TagCase('<a href="http://
www.macromedia.com"'), false);
}
with (Application){
CurrentFolder = ToolbarDir;
}
251
Need help?
Do you have a question about the HOMESITE and is the answer not in the manual?