gpt4 book ai didi

python - Linux xdotool 符号

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:52:27 25 4
gpt4 key购买 nike

我正在寻找使用 xdotool 模拟键盘,但我遇到了部分 URL 问题。我要输入的部分是“-episode-”。

作为解决方案,我有一个文本文件 (hyphen.txt),其中包含:

-

然后我运行:

xdotool key --file ./hyphen.txt

我想避免使用额外的文本文件。有没有办法使用:

xdotool key <>
xdotool type <>

输出一个连字符?

最佳答案

这对我有用:

xdotool key minus

关于python - Linux xdotool 符号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27697832/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com