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

autopy.key.tap(autopy.key.Code.BACKSPACE) not working #69

Open
aranc opened this issue Mar 22, 2021 · 1 comment
Open

autopy.key.tap(autopy.key.Code.BACKSPACE) not working #69

aranc opened this issue Mar 22, 2021 · 1 comment

Comments

@aranc
Copy link

aranc commented Mar 22, 2021

It seems that tapping a backspace is not working. Is anyone else having this issue?

Some code to reproduce:
import autopy
import time

autopy.mouse.click()
time.sleep(1)
autopy.key.tap("x")
time.sleep(1)
autopy.key.tap(autopy.key.Code.BACKSPACE)
time.sleep(1)
autopy.key.tap("y")
time.sleep(1)

If I open an editor and run the code above, I see xy being typed without any effect from the backspace
If I run this while in the terminal window, I see x^[[3~y instead of just y

aran@laptop:~$ pip3 list | grep autopy
autopy 4.0.0

@Urmila17
Copy link

There are several features of autopy not working for different versions of OS. With the current release of 3.9.1+, not all features have been upgraded. Move all your code that used to utilize this tool to "pyautogui" which enables the same functionality for keyboard and mouse manipulation through python.

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

2 participants