xebros 0 Posted January 7, 2022 Share Posted January 7, 2022 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. Link to comment https://wrobot.eu/forums/topic/13828-external-keypress/ Share on other sites More sharing options...
Droidz 2738 Posted January 11, 2022 Share Posted January 11, 2022 Hello, your code seems good, you have try with another key (or in another process) (sometime the specials keys like F1 works badly)? Link to comment https://wrobot.eu/forums/topic/13828-external-keypress/#findComment-64544 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now