Hello, thank you for creating such a great tool! I've been trying to use it in a script to emit Control+L, Control+C, and F6 to a firefox window. I imagined this would have been quite simple, as I expected something such as;
wtype -M ctrl l c -m ctrl -P F6 -p F6
to work, but I seem to have been having problems, as it wouldn't even attempt to emit ctrl+c - and that's not about all, if i try to separate them;
wtype -M ctrl l -m ctrl -M ctrl c -m ctrl
still, doesn't really work.
i ended up having to do this:
wtype -M ctrl l -m ctrl -M ctrl c -m ctrl -P F6 -p F6 -P F6 -p F6
to do what i want (it seems that it's behavior changes by adding more arguments to the end, so if i add an extra button emit it will read the one it ignored before and ignore the one given)
I don't quite think this is optimal, in my opinion.
On another note, I think it would be quite nice if this had a flag that enabled compat with how xdotool key works. something like wtype -x control+l control+c F6 would be really nice if i just needed to emit these keys. thank you very much
after further investigation - it seems like what i provided doesn't even work consistently, it turns out that its all about delays, while xdotool handled that automatically (at least i believe so, since it just worked there), so I think the issue is easy to see now
Hello, thank you for creating such a great tool! I've been trying to use it in a script to emit
Control+L
,Control+C
, andF6
to a firefox window. I imagined this would have been quite simple, as I expected something such as;to work, but I seem to have been having problems, as it wouldn't even attempt to emit ctrl+c - and that's not about all, if i try to separate them;
still, doesn't really work.
i ended up having to do this:
to do what i want (it seems that it's behavior changes by adding more arguments to the end, so if i add an extra button emit it will read the one it ignored before and ignore the one given) I don't quite think this is optimal, in my opinion.
On another note, I think it would be quite nice if this had a flag that enabled compat with how xdotool key works. something like
wtype -x control+l control+c F6
would be really nice if i just needed to emit these keys. thank you very muchafter further investigation - it seems like what i provided doesn't even work consistently, it turns out that its all about delays, while xdotool handled that automatically (at least i believe so, since it just worked there), so I think the issue is easy to see now