Repeat icon indicating copy to clipboard operation
Repeat copied to clipboard

the right way to use repeat

Open fujohnwang opened this issue 10 months ago • 1 comments

first of all, I have to admit this is a great project.

I have dived into the issue list and wiki, even part of the source code.

By playing with it, I wonder whether it's the right way to use it.

Do I have to layout the application windows side by side to record and replay with actions?

Or when I want to switch between the application windows(CMD+TAB things), do I have to send command of osascript via Tools in Java script ?

This is not a bug, Just want to start a discussion If anyone with same wonder/question 🤓

fujohnwang avatar Mar 10 '25 14:03 fujohnwang

Hi,

You don't have to put the window side by side. There's a global hotkey you can use to start and stop recording without having the application window open. If you want to send key events, you can make use of the keyboard controller API (https://github.com/repeats/Repeat/blob/master/src/core/controller/KeyboardCore.java) to send keyboard presses/releases just like you use the keyboard.

Let me know if you have any other question.

hptruong93 avatar Mar 14 '25 02:03 hptruong93