errors have been detected step 810 a macro specifies an expected interaction sequence with the host application a macro starts from an entry point and continues its interaction based on the macro script the macro script describes what action to perform on the current host screen and what are the next possible host screens it will receive within a specified timeframe an error may occur when the macro does not receive the host screen it expects within the specified timeframe when this happens the macro does not know how to proceed and may ask the user for error handling logic if no errors have been detected step 810 no then this indicates a normal completion of the macro mode and the next screen is set using the screen customization mode step 818 if an error is detected step 810 yes then a determination is made as to whether or not error handling logic exists step 812 if error handling logic does not exist step 812 no then a screen is set using the screen customization mode step 818 if error handling logic does exist step 812 yes then the error handling logic is activated step 814 which may attempt to repair the error and determine whether the macro.