code: def qteReplayKeysequenceHook(self, msgObj):
          
  
          # Quit if there is nothing to replay.
          if self.recorded_keysequence.toString() == '':
              return
  
          # Stop the recording before the replay, if necessary.
          if self.qteRecording:
              return
  
          # Simulate the key presses.
          self.qteMain.qteEmulateKeypresses(self.recorded_keysequence)
docs: Replay the macro sequence.