Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird user experience issue #35

Open
ribosomerocker opened this issue Jan 27, 2022 · 0 comments
Open

Weird user experience issue #35

ribosomerocker opened this issue Jan 27, 2022 · 0 comments

Comments

@ribosomerocker
Copy link

ribosomerocker commented Jan 27, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant