You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't understand something, it works through sim.Keyboard.KeyDown('\r') sim.Keyboard.KeyUp('\r'). So I decided to look at what the difference is between the KeyDown, & TextEntry methods and what I wasn't expecting was that the KEYBDINPUT struct has different fields assigned between the two like Unicode flags, scan code & keycode. Both are doing keydowns & keyups so why are the different struct values assigned and what is the fundamental difference between the two?
using the TextEntry method, the newlines work fine on notepad but don't work if the target is a System.Windows.Forms.RichTextBox
sim.Keyboard.TextEntry("foo\nbar") ;
sim.Keyboard.TextEntry("foo\r\nbar") ;
The text was updated successfully, but these errors were encountered: