ydotool icon indicating copy to clipboard operation
ydotool copied to clipboard

Using key names (mnemonics) instead of hex codes

Open MPavleski opened this issue 8 months ago • 0 comments

I've created a Python wrapper (ydo) for which the key names can be used.

For example:

# Type text
./ydo type "Hello world!"

# Press Enter key
./ydo key KEY_ENTER:1 KEY_ENTER:0

# Type with custom delay
./ydo type -d 20 "Slow typing"

# Type from file
./ydo type -f input.txt

MPavleski avatar Feb 09 '25 08:02 MPavleski