MACROMEDIA COLDFUSION STUDIO 4.5-USING COLDFUSION STUDIO Use Manual page 195

For windows 95/98/nt4/2000
Table of Contents

Advertisement

203
CloseProject
function CloseProject(wbCloseOpenFiles: WordBool): WordBool
Closes the active project, if any. If
is True, then all open files are
wbCloseOpenFiles
closed.
OpenProject
function OpenProject(const wsProjectFile: WideString): WordBool
Opens the passed project file, making it the active project. Pass an empty string to
display the Open Project dialog box.
RemoveFileFromProject
function RemoveFileFromProject(const wsFilename: WideString): WordBool
Removes the passed file from the active project.
ShowLastProjectError
function ShowLastProjectError()
Displays an error message for the last project-related error.
UploadProjectDlg
function UploadProjectDlg(): WordBool
Displays the upload project dialog box for the active project.
UploadProject
function UploadProject(const wsTargetDir: WideString; const wbForceLCase,
wbUploadOnlyNewer, wbEncryptCFML: WordBool): WordBool
Uploads a project based on the passed criteria. Note that
is specific to
wbEncryptCFML
ColdFusion Studio.
Toolbar methods
Each toolbar is identified by a unique name which displays in the title bar caption
when the toolbar is undocked. No two toolbars can have the same name. Toolbars are
loaded from files in the toolbar directory, which can be obtained from the
ToolbarDir
property. Toolbar names are the same as their file names without the path or
extension. So if the toolbar file is
, then the toolbar name is
\toolbars\Custom.tbr
Custom. Also note that toolbutton captions are limited to two characters.
AddAppToolbutton
function AddAppToolbutton(wsToolbarName, wsExeFile, wsCmdLine, wsHint:
WideString): WordBool
Adds a toolbutton for an external application to the passed toolbar. Fails if the toolbar
doesn't exist or if the toolbutton could not be added. Returns True if the same
toolbutton (based on
and
) already exists on the toolbar, but
wsExeFile
wsCmdLine
doesn't add a duplicate button.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion studio 4.5

Table of Contents