mkMapper - Exported Types, Constants and Globals

For more details, please see mkMapper.sbl

License

Copyright (C) 2005 Chad Ullman

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to: Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Summary
For more details, please see mkMapper.sbl
Constants used to set the logging level for the mapper
Exceptions that can be raised by the LoadMap and GetRecFromMap functions

Exported Constants

Summary
Constants used to set the logging level for the mapper
Exceptions that can be raised by the LoadMap and GetRecFromMap functions

Constants

LOG_LEVELS

Constants used to set the logging level for the mapper

LOG_ERRORthe highest level of logging, anything logged at this level resulted in a failed run
LOG_WARNthese could be problems, but don’t necessarily mean the run failed
LOG_INFOinformational messages, usefule, but not vital to know
LOG_DEBUGthe lowest level of logging, for development purposes only

MAP_ERRORS

Exceptions that can be raised by the LoadMap and GetRecFromMap functions

MAP_ERR_DOM_NOT_LOADEDThe map DOM hasn’t been loaded yet
MAP_ERR_CANT_GET_NODEWe’re unable to retrieve the recognition string for the given screen and object
MAP_ERR_FAILED_TO_LOAD_COM_OBJECTUnable to load COM object into app
MAP_ERR_MAP_FILE_NOT_FOUNDThe map file given couldn’t be found
MAP_ERR_FAILED_TO_LOAD_MAP_FILEThe map file couldn’t be loaded in to the MSXML DOM object
Sub LoadMap (map As String,
Optional logLevel As Variant)
Loads an application map DOM.
Function GetRecFromMap(screenName As String,
objectName As String) As String
Once a map has been loaded, this function is used to retrieve the recognition string for an object.