Help on C# to make Auto Pots

09/06/2015 23:13 yousefh#1
i need to Send key Strokes to inactive window(conquer)

now i'm going to use
PHP Code:
  [DllImport("user32.dll")]
        public static 
extern bool PostMessage(int hWnduint Msgint wParamInt64 lParam); 
the problem here is that i have to get the right class (sub window) under Conquer that i need to send the keys to.

i used Microsoft Spy++ to find which class gets (my Right mouse clicks) over the hp potions in F1 (in game).

[Only registered and activated users can see links. Click Here To Register...]


and it's a long tree, how can i reach that process through C# to Aim at & pls keep in ur mind that i'm a beginner.

ty in advance.
09/20/2015 14:50 w4po#2

I think u can use mouse_event, and sendkeys
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

SendKeys.Send("{F1}");
You must run your program as administrator.
Good luck.


09/20/2015 15:23 abdaboda#3
from where you got this source or you made it ?

i`m java coder
09/20/2015 15:23 abdaboda#4
from where you got this source or you made it ?

i`m java coder