autoit icon indicating copy to clipboard operation
autoit copied to clipboard

Certain characters are not supported on Windows

Open paololazzari opened this issue 3 years ago • 2 comments

One example is the backslash \ .

This snippet:

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

will type cusers instead of c:\users.

paololazzari avatar Mar 10 '22 20:03 paololazzari

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.

Lonami avatar Mar 11 '22 15:03 Lonami

Thanks @Lonami , ait.write works for me

paololazzari avatar Mar 11 '22 18:03 paololazzari