B
B
Bermut2022-03-02 06:55:14
linux
Bermut, 2022-03-02 06:55:14

How to emulate button presses in a script?

I want to set up autorun of one batch file, where after its launch there are all sorts of questions like password, port, etc.
How to automate this, of course, I made the autorun of the batch file, but exactly how to make a choice in this batch file - I don’t know, I tried to use xdotool, but it requires a display manager, I also found an option where screen is used, but it doesn’t suit me, I I'm using tmux, any suggestions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SOTVM, 2022-03-02
@sotvm

forgot :(
remembered, having found in the profile (in the hamster)
.xmacroplay
from the xdtools package

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question