Skip to content
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

The simulator skips the first characters of the barcode #7

Open
thomaslevesque opened this issue Mar 18, 2021 · 2 comments
Open

The simulator skips the first characters of the barcode #7

thomaslevesque opened this issue Mar 18, 2021 · 2 comments

Comments

@thomaslevesque
Copy link

e.g. if I try to send "01234567", it will randomly send "234567", "34567", "4567", but never the full code

@shaybakov71
Copy link

i'm not found solution for this bug (windows 10 bug?) and solved the problem like this

private static void StartSending(string text, int delay, Keys endKey = Keys.None)
{
for (int i=0;i< 10; i++)
{
SendKeys.SendWait("");
SendKeys.Flush();
Thread.Sleep(delay);
}

foreach (var s in text.Select(character => character.ToString()))

@eugenicx
Copy link

eugenicx commented Feb 3, 2023

Thread.Sleep(400); before this cycle can help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants