October 21, 20205 yr Hello, I need some help with this. I'm using this code: wManager.Wow.Memory.WowMemory.Memory.SetForegroundWindowInt32((int)wManager.Wow.Memory.WowMemory.Memory.WindowHandle); but it works randomly, does not always work, and I do not understand why. @Droidz what kind of code are you using in this button?
October 22, 20205 yr Author I need this to capture desktop for logging events and incidents from the window I need.
October 22, 20205 yr Hi, robotManager.Helpful.Display.ShowWindow(obj.CurrentWowProcess.MainWindowHandle); public static void ShowWindow(IntPtr mainWindowHandle) { Native.ShowWindow(mainWindowHandle, Native.SwRestore); Native.SetForegroundWindow(mainWindowHandle); }
October 22, 20205 yr Author 8 hours ago, Droidz said: Hi, robotManager.Helpful.Display.ShowWindow(obj.CurrentWowProcess.MainWindowHandle); public static void ShowWindow(IntPtr mainWindowHandle) { Native.ShowWindow(mainWindowHandle, Native.SwRestore); Native.SetForegroundWindow(mainWindowHandle); } The name 'obj' does not exist in the current context, please can I ask for the reference for 'obj'? Cant find where the CurrentWowProcess located in the libraries.
October 23, 20205 yr robotManager.Helpful.Display.ShowWindow(wManager.Wow.Memory.WowMemory.Memory.GetProcess().MainWindowHandle);
December 28, 20205 yr Hello, how to get position of window wow at the desktop? i need it for: if top left 1720 , 0 then goto first place, if another window have 1520, 0 then goto second place.
December 28, 20205 yr Hello, you have robotManager.Helpful.Mouse.CurseurWindowPosition(IntPtr mainWindowHandle, int posX, int posY) and robotManager.Helpful.Mouse.CurseurWindowPercentagePosition(IntPtr mainWindowHandle, int percentageX, int percentageY) Look methods in robotManager.Helpful.Mouse and robotManager.Helpful.Display (but simulate click works badly and you need wow window in foreground)
December 28, 20205 yr 2 hours ago, Droidz said: Hello, you have robotManager.Helpful.Mouse.CurseurWindowPosition(IntPtr mainWindowHandle, int posX, int posY) and robotManager.Helpful.Mouse.CurseurWindowPercentagePosition(IntPtr mainWindowHandle, int percentageX, int percentageY) Look methods in robotManager.Helpful.Mouse and robotManager.Helpful.Display (but simulate click works badly and you need wow window in foreground) Oh, yes, im stupid)
Create an account or sign in to comment