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

Certain characters are not supported on Windows #8

Open
paololazzari opened this issue Mar 10, 2022 · 2 comments
Open

Certain characters are not supported on Windows #8

paololazzari opened this issue Mar 10, 2022 · 2 comments

Comments

@paololazzari
Copy link

paololazzari commented Mar 10, 2022

One example is the backslash \ .

This snippet:

ait.press(*'C:\\Users')

will type cusers instead of c:\users.

@Lonami
Copy link
Owner

Lonami commented Mar 11, 2022

This works with ait.write('\\'). press is to press a given key, while write is to write a text. At least in my keyboard, there's no key for \ (I have to hold AltGr+º). Not sure how/if we should "fix" this.

@paololazzari
Copy link
Author

Thanks @Lonami , ait.write works for me

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