Programming with Reflection

image\rwnprg32.gif GetFileType method

 

Syntax FileType = object.GetFileType(FileName)

 

Description

Returns a value indicating the file type of a specified file. This method distinguishes file types associated with Reflection products. Other file types are identified as unknown.

Arguments

FileName Argument type: String
Required
Specifies the file name. Supply complete path information if the file isn't on the Reflection macro path.

Return

FileType Return type: Enumeration
A value indicating the file type of the specified file. The possible values are:

 rcSettings

 A complete settings file for the current product.

 rcKeymap

 A keymap/mouse map-only settings file for the current product.

 rcToolbar

 A toolbar-only settings file for the current product.

 rcColors

 A color-only settings file for the current product.

 rcHotspots

 A hostspots-only settings file for the current product.

 rcConnection

 A connection-only settings file for the current product.

 rcMenuMap

 A menus-only settings file for the current product.

 rcRBSource

 A Reflection Basic script file.

 rcSettings update

 A settings update file for the current product.

 rcUnknown

 None of the above file types.

 

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command