220
Chapter 14 Scripting the Visual Tools Object Model
SetActiveCodeSweeper
Syntax
SetActiveCodeSweeper(const wsFileName: WideString): WordBool;
Description
Changes the active CodeSweeper format file.
Example
function Main(){
var sCS_File = ’C:\\Program Files\\Macromedia\\ColdFusion Studio
5\\Extensions\\CodeSweepers\\WebXML.vtm’;
with (Application){
SetActiveCodeSweeper(sCS_File);
}
}
SetActiveResults
Syntax
SetActiveResults(resType: TCurrentResultsType);
Description
Boolean. Sets the active page in the Results tab.
The following values are allowed:
resSearch
resValidator
resLinks
resThumbnails
Example
function Main() {
with (Application) {
SetActiveResults ();
}
}
SetApplicationSetting
Syntax
SetApplicationSetting(nSettingID: Integer ovSettingVal: OleVariant);
Description
Sets a specific application setting based on its SettingID.
Example
function Main(){
var SET_EDITOR_FONTNAME= 300;
with (Application){
SetApplicationSetting(SET_EDITOR_FONTNAME, ’Lucida Console’);
}
}
SetFileTabFolder
Syntax
SetFileTabFolder(iTab: integer; sFolder: string);
Description
Sets the active folder for each of the Files tabs.
Содержание ColdFusion Server 5
Страница 18: ...xviii About This Book...
Страница 26: ...8 Chapter 1 Setting Up the Product...
Страница 42: ...24 Chapter 2 Configuring Browsers and Servers...
Страница 60: ...42 Chapter 3 Exploring the Workspace...
Страница 100: ...82 Chapter 6 Editing Pages...
Страница 126: ...108 Chapter 7 Using Web Development Languages...
Страница 212: ...194 Chapter 13 Customizing the Development Environment...
Страница 320: ...302 Glossary...