def undo(self):
     if (self.undoCommand): 
         self.undoOutput, self.undoError = logExecuteAndCheckErrorOutput(self.undoCommand, self.undoTextListToFind)
 def __call__(self):
     self.doOutput, self.doError = logExecuteAndCheckErrorOutput(self.doCommand, self.doTextListToFind)