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

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

Advertisement

197
ExtractFilePath
function ExtractFilePath(const wsFile: WideString): WideString
Returns the path of the passed file (includes trailing '\').
GetApplicationSetting
function GetApplicationSetting(nSettingID: Integer)
Retrieves a specific application setting based on a SettingID.
GetImageSize
function GetImageSize(const wsImageFile: WideString; var nHeight, nWidth: Integer):
WordBool
Retrieves the size of the passed image. Returns False on error.
GetMemoryStatus
function GetMemoryStatus(iMemType)
Returns an integer value. The possible values are:
0 - Available System resources (%)
1 - Available GDI resources (%)
2 - Available User resources (%)
3 - General memory used (%)
4 - Total physical memory (bytes)
5 - Available physical memory (bytes)
6 - Total swap file storage space (bytes)
7 - Available swap file storage space (bytes)
8 - Total virtual space (bytes)
9 - Available virtual space (bytes)
On Windows 95/98, the values for 0, 1, and 2 are real numbers. On Windows NT, since
there is no corresponding API call to get resource levels, these types always return the
value 80%.
GetRelativePath
function GetRelativePath(const wsBaseURL, wsFolderURL: WideString): WideString
Returns the relative path of a folder give a base URL. For example,
GetRelativePath ("http://www.allaire.com/", "http://www.allaire.com/
products/")
Returns "products/".
GetTabIndexForFile
function GetTabIndexForFile(const wsFile: WideString): Integer
Returns the index in the document tab of the passed file. Returns -1 If the file isn't
open.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion studio 4.5

Table of Contents