Lonami / autoit

Automate it with Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Certain characters are not supported on Windows

paololazzari opened this issue · comments

commented

One example is the backslash \ .

This snippet:

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

will type cusers instead of c:\users.

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.

commented

Thanks @Lonami , ait.write works for me