Guest Posted July 5, 2019 Share Posted July 5, 2019 Hello, Is it possible to send keyboard button click events in fight class or from any other place when fighting? I have 1 button macro rotation already done and I don't want to create fight class which does the same thing. Thanks Link to comment https://wrobot.eu/forums/topic/11472-press-button/ Share on other sites More sharing options...
Droidz 2738 Posted July 8, 2019 Share Posted July 8, 2019 Hello, yes use this c# code: robotManager.Helpful.Keyboard.PressKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, System.Windows.Forms.Keys.A); Replace "A" by your key https://docs.microsoft.com/fr-fr/dotnet/api/system.windows.forms.keys?f1url=https%3A%2F%2Fmsdn.microsoft.com%2Fquery%2Fdev15.query%3FappId%3DDev15IDEF1%26l%3DFR-FR%26k%3Dk(System.Windows.Forms.Keys);k(SolutionItemsProject);k(TargetFrameworkMoniker-.NETFramework,Version%3Dv4.5);k(DevLang-csharp)%26rd%3Dtrue%26f%3D255%26MSPPError%3D-2147217396&view=netframework-4.8 TheSmokie, sith500 and zhxwbr8 1 2 Link to comment https://wrobot.eu/forums/topic/11472-press-button/#findComment-54888 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