repeats / Repeat

Cross-platform mouse/keyboard record/replay and automation hotkeys/macros creation, and more advanced automation features.
Apache License 2.0
1.03k stars 76 forks source link

Using hotkeys for mouse replay of recording automatically starts a new recording #8

Closed cancub closed 7 years ago

cancub commented 7 years ago

Steps to repeat:

  1. Press hotkey for mouse recording to start the recording
  2. move mouse around
  3. press hotkey for mouse recording to stop the recording
  4. press hotkey to replay recording

The button for the mouse recording can be seen as being the "stop recording" button at this time and will return to the default "start recording" button upon pressing it or pressing the mouse recording hotkey once more.

hptruong93 commented 7 years ago

Should be fixed with commit 6012fa9f54ae22f415c900a6b36b88267653cc42

The problem is similar to #6. The end of the recording is triggered by the hokey press, and therefore the key press (record hotkey) event is also recorded in the recording. Consequently, when the replay happens, the record hotkey is also included at the end of the recording, resulting in a new recording being started.