January 7, 20224 yr Hi there, I'm quite a bit new into coding and stumbled upon a problem. Is there a way for wrobot to send global keypress? I have software that reads my F1 keypress even when minimized. var p = System.Diagnostics.Process.GetProcessesByName("mysoft"); foreach (var process in p) { robotManager.Helpful.Keyboard.PressKey(process.MainWindowHandle, System.Windows.Forms.Keys.F1); } Using this doesn't work / works only on wow process. Would appreciate help for newbie.
January 11, 20224 yr Hello, your code seems good, you have try with another key (or in another process) (sometime the specials keys like F1 works badly)?
Create an account or sign in to comment