Archive

Posts Tagged ‘Safe Functions’

Processing exceptional situations with RoutineBot

July 6th, 2009

Starting version 1.5 RoutineBot has an advanced function to process exceptional situations.

Short note about how it is organized:

  • After each function RoutineBot calles OnException script (that you can change from Project menu).
  • The default OnException script contains code which will search for windows with “Exception…” caption or icon.
  • You can change the default script or replace it with your own. For instance, you can add code to log some operations in text file.

Safe functions:

  • By default RoutineBot calls OnException script after all functions, but for sure, there are functions that most likely will not produce any exception (like MouseFocus), so you can add these functions to list of “safe” functions, which is avaliable from Project menu.
  • Why put some function in the “Safe functions” list. OnException script takes some time to execute, so if you will add some functions to “Safe functions” list, you will be able to run the script faster.
  • Share/Bookmark

admin Official , , , ,