question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SendKeys special characters

See original GitHub issue

The release notes for 0.4-beta include “SendKeys functionality enabled for special characters”. I have tried simulating the enter key using hello\n but this does not appear to work. Is this a bug or is there a different syntax for enter? What other characters are supported?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
alakshmi1030commented, Jul 19, 2016

Sending a \n character through SendKeys generates a new line in our test project, but it does not simulate an enter key. We are still working on enabling simulating key presses such as the enter key; escape characters seem to be working.

1reaction
barisgulcommented, Sep 18, 2018

I found cause of the problem. When I change keyboard language from turkish to Eng(US), worked for me. Bu I want to use turkish keyboard. Is there any solution?

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Send special character with SendKeys
From MSDN SendKeys: The plus sign (+), caret (^), percent sign (%), tilde (~), and parentheses () have special meanings to SendKeys.
Read more >
SendKeys statement (VBA)
The plus sign (+), caret (^), percent sign (%), tilde (~), and parentheses ( ) have special meanings to SendKeys. To specify one...
Read more >
How to send special characters by sendkeys.sendwait ...
Solution 1. You have a number of normal characters in your string surrounded by braces ( { and } ). These are not...
Read more >
Handling Special Characters and Global Send Keys
We have a process that enters A bank account Name into an SAP System. ... "Special characters (~{}+^%) are not supported in SendKeys...
Read more >
Thread: How to use special chars in SendKeys from a textbox
Re: How to use special chars in SendKeys from a textbox ? You would have to use the Replace function for every special...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found