jarmo / RAutomation

RAutomation
MIT License
100 stars 33 forks source link

Cannot send dash, forwardslash, backslash #64

Closed lifeweaver closed 11 years ago

lifeweaver commented 11 years ago

Hello I like the gem,

I want to use RAutomation to integrate with putty but the "-", "\", and "/" symbols are important. However, these keys do not work when I try to .send_keys("-")

I'm not sure if this is something RAutomation would want to support or if the current character set is sufficient, but I would like to see this added!

jarmo commented 11 years ago

Added support for these characters in commit 9bbbfd2 for Win32 adapter. You can use them like this:

window.send_keys "foo", :dash, "bar", :backslash, "and", :slash # results in "foo-bar\and/"
lifeweaver commented 11 years ago

Thanks for taking the time to code these in!