jarmo / RAutomation

RAutomation
MIT License
100 stars 33 forks source link

Cannot send square brackets or single quotes #61

Closed unyo closed 11 years ago

unyo commented 11 years ago

Hi there,

I use rautomate to integrate with an application where the left square bracket "[" and the single quote " ' " are important. However, entering these keys in a string does not work.

Adding this to /adapter/win_32/keys.rb KEYS constant lets you use Window#send_keys(:left_square). I'd do a push request if I knew how to use git, but since I don't I'll just leave this here for whoever can add it into the code.

KEYS = { ... :left_square => 0xDB, :right_square => 0xDD, :single_quote => 0xDE, }..

jarmo commented 11 years ago

Thanks!