Basically when I press alt+1 the tao should stig+soa+shield+follow me (main char is team leader).
I did the stig+soa+shield using ControlClick command. When I tryed using the same command for follow, it just didn't work (even though it worked about a year ago).
I used WindowSpy and noticed that it had a value for ClassNN (Button14 - if only the team window is opened); I had a similar problem way back when I was trying to make a SH lvler using horse (instead of ControlClick I used the PostMessage command to make it work - and it worked).
Anyway even if I use the PostMessage command, it still won't click on the follow button.
I tried all the ideas I had, so now I need you help lol
If anyone knows another way to make it click (in background) on follow let me know.
Here's the code so far
Code:
WinGet, id, ID, [Conquer Online]
Gui, Add, Tab, w100 h75
Gui, Tab,
Gui, Add, Text, cBlue x15 y15 h20,F5 - Shield
Gui, Add, Text, cBlue x15 y35 h20,F6 - Stig
Gui, Add, Text, cBlue x15 y55 h20,F7 - SoA
Gui, Show, x100 y100 w120, T.B.
return
GuiClose:
ExitApp
!1::
{
ControlClick, x350 y760,ahk_id %id%,,right
sleep 150
ControlClick, x1000 y200,ahk_id %id%,,right
sleep 850
ControlClick, x310 y760,ahk_id %id%,,right
sleep 150
ControlClick, x1000 y200,ahk_id %id%,,right
sleep 850
ControlClick, x260 y760,ahk_id %id%,,right
sleep 150
ControlClick, x1000 y200,ahk_id %id%,,right
sleep 850
PostMessage, 0x203, 0, 470&0xFFFF | 65<<16,Button14, ahk_id %id%,2,
sleep 100
return
}
^INS::
reload






