Collective-Software / ClickPaste

Windows 10 notification area app in C# that can paste clipboard contents as keystrokes to whatever location you click.
BSD 3-Clause "New" or "Revised" License
414 stars 31 forks source link

RDP: special characters broken #26

Closed fansari closed 4 days ago

fansari commented 2 months ago

I thought this tool might be useful to enter passwords to the console for vSphere.

Unfortunately special characters (punctation, parenthesis, ...) are broken.

I tested on a vSphere console and also pasting into notepad on the RDP server.

f3rrix commented 2 months ago

Could it be a keyboard mode thing? The key sending APIs we rely upon basically disclaim any support for anything but US key layouts.

ewscott9 commented 1 month ago

I've had a similar issue in RDP, and changing the delay between helped (I think I bumped to up to 100 ms or so). I think rdp was eating the shift inputs.

fansari commented 1 month ago

I tried another login with the same password last week. In this case my notebook keyboard settings and the keyboad on the RDP server both were set to US. Maybe when I had the issue I had tried to set everything to US after I noticed the problem and it seems that this does not work. Maybe everthing has to be set to US before you start using the tool.

f3rrix commented 3 weeks ago

Can you try with different delays and switching typing method? (v1.2.0 fixes hopefully a bug that prevented typing method switching)

gs71 commented 4 days ago

I confirm that ClickPaste is not working properly when using a French keyboard : all characters that need AltGr (~{ [ | ] } .... ) are not pasted at all. But it works fine if I select US keyboard layout just before pasting.

Do you think this issue could be fixed? ClickPaste is a great tool apart from this problem!

f3rrix commented 4 days ago

Ah. Alas no, unless someone comes up with a new way to type keys. Both AutoIt and Forms.SendKeys explicitly disclaim support for anything but US keyboards.