-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Colon results in Semicolon #48
Comments
Can you please indicate where did you find it? Or even, you can fix it and create a PR and we can fix it |
Hi there, Thanks for getting back to me with this. I've found this while running and trying to type a path, like C:\temp\sample.csv and every time the ':' becomes ';'. robot.Type(":") (SendKey might not be the other method, but I have my solution on another laptop and it's already closed, but I think you know what I mean) Also, I've seen that in one case, the result is not even ';' but letter 'z'. I believe it has the same key in the file. I believe it could be a fairly easy fix if you know the proper Key values for ':' which I don't. Note: I was looking for a cross platform solution and this is the only one measured up. If this : => ; case could be fixed, that'd save my day, literally as I'm desperate need for this. Your help is much appreciated and the fix would save from tons of headache. Many thanks! |
Hi Tom, if you look in KeyboardTests, you can see that keys like : don't
work naturally.
Just an idea, does it work if you make it KeyDown shift then KeyUp shift
after pressing colon? Because that's how I'd type a colon on a physical
qwerty keyboard.
If that works, it could probably be made to automatically do that in
robot.Type.
…On Thu, Sep 7, 2023 at 2:54 AM TomKilt ***@***.***> wrote:
Hi there,
Thanks for getting back to me with this.
In the code, it can be seen in 'Desktop.Robot/Key.cs' line 207-215. Seems
like the Colon and the Semicolon has the same values.
I've found this while running and trying to type a path, like
C:\temp\sample.csv and every time the ':' becomes ';'.
It was checked with
robot.Type(":")
robot.Type(':')
robot.Type(Key.Colon)
and
robot.SendKey(":")
robot.SendKey(Key.Colon)
(SendKey might not be the other method, but I have my solution on another
laptop and it's already closed, but I think you know what I mean)
Also, I've seen that in one case, the result is not even ';' but letter
'z'. I believe it has the same key in the file.
I believe it could be a fairly easy fix if you know the proper Key values
for ':' which I don't.
Note: I was looking for a cross platform solution and this is the only one
measured up. If this : => ; case could be fixed, that'd save my day,
literally as I'm desperate need for this. Your help is much appreciated and
the fix would save from tons of headache.
Many thanks!
—
Reply to this email directly, view it on GitHub
<#48 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF5P62QWSFB2UQ35L5JQWN3XZCTDFANCNFSM6AAAAAA4NIP3JA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I've got same issue here. Also tried this but this did not work and gave me a "z"
A fix would be greatly appreciated as I'm also sending keys to a filedirectory where it keeps giving me "C;/User/..." |
Hi there,
I've noticed that : ends up as ; on the UI. As I've seen, Colon has the same Keycode as Semicolon in the code. Could this be fix by any chance as I'd like to use this on an 'Open File' dialog with a file path, which needs the : .
Many thanks!
The text was updated successfully, but these errors were encountered: