For more details, please see mkMapper.sbl
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
Constants used to set the logging level for the mapper
|LOG_ERROR||the highest level of logging, anything logged at this level resulted in a failed run|
|LOG_WARN||these could be problems, but don’t necessarily mean the run failed|
|LOG_INFO||informational messages, usefule, but not vital to know|
|LOG_DEBUG||the lowest level of logging, for development purposes only|
|MAP_ERR_DOM_NOT_LOADED||The map DOM hasn’t been loaded yet|
|MAP_ERR_CANT_GET_NODE||We’re unable to retrieve the recognition string for the given screen and object|
|MAP_ERR_FAILED_TO_LOAD_COM_OBJECT||Unable to load COM object into app|
|MAP_ERR_MAP_FILE_NOT_FOUND||The map file given couldn’t be found|
|MAP_ERR_FAILED_TO_LOAD_MAP_FILE||The map file couldn’t be loaded in to the MSXML DOM object|
Loads an application map DOM.
Sub LoadMap ( map As String, Optional logLevel As Variant )
Once a map has been loaded, this function is used to retrieve the recognition string for an object.
Function GetRecFromMap( screenName As String, objectName As String ) As String