KeyboardSimulator icon indicating copy to clipboard operation
KeyboardSimulator copied to clipboard

How to insert symbol using keybd.press

Open kevinho1996 opened this issue 5 years ago • 6 comments

symbol includes _ " ; , .

kevinho1996 avatar Dec 24 '19 16:12 kevinho1996

These keys aren't supported yet, but I hope to add support in the future. Take a look at ?keyboard_value for a list of supported keys.

jeffkeller87 avatar Dec 26 '19 19:12 jeffkeller87

HI, good point. Also the @ symbos seems not working, very important for email addresses. Is there a workaround? not yet sure what the keyboard_value table shoudjl be used for.

JohannesEmm avatar Jan 23 '24 15:01 JohannesEmm

HI, good point. Also the @ symbos seems not working, very important for email addresses. Is there a workaround? not yet sure what the keyboard_value table shoudjl be used for.

For some symbols you can try to use keybd.type_string instead of keybd.press Let me know if this function is still not working.

ChiHangChen avatar Jan 24 '24 03:01 ChiHangChen

Yes tried both. The type string function prints a " instead of the @. Maybe just for the next version. Great package btw!

JohannesEmm avatar Jan 24 '24 07:01 JohannesEmm

I tried on my Win10 machine seems work

image

Can you provide your system information and R information?

ChiHangChen avatar Jan 24 '24 10:01 ChiHangChen

Hi OK, maybe a language issue as have an Italian keyboard R 4.2.1.

JohannesEmm avatar Jan 24 '24 11:01 JohannesEmm