Edit: Look @ post #7
Well here's my code:
;WinGet,id, ID,[Conquer2.0]
Gui, Add, Text,, For [Only registered and activated users can see links. Click Here To Register...]
Gui, Add, Text,x10 y42 w100 h20, Auto-summon-guard.
Gui, Add, Text,x15 y62 w190 h20, To start, press F10 on active window,
Gui, Add, Text,x65 y82 w150 h20, now press Ok
Gui, Add, Button, x150 y102 w60 h20 vButton gStart, Ok
Gui, Add, Text,x55 y122 w100 h20, v1.0 by Diabox
Gui, Show
return
Start:
Gui, Submit, Hide
;MsgBox, To start press F10 on active window`n`n Beta version`n v1.0 by Diabox `n`n special for [Only registered and activated users can see links. Click Here To Register...] community
;#NoTrayIcon
*F10::
WinGet,id, ID,[Conquer2.0]
gata := false
MsgBox, Started
loop
{
;ControlSend,,F6,ahk_id %id%
ControlClick,ahk_id %id%,,RIGHT
ControlSend,,F5,ahk_id %id%
Sleep, 60000
}
*F11::ExitApp
;GuiClose:
return
it's supposed to press f6, then right click and then press f5 and then wait 60 seconds to perform the same thing again. But it doesn't work, anyone knows why it doesn't work? I'm quite a nuub with autohotkey.
Well here's my code:
;WinGet,id, ID,[Conquer2.0]
Gui, Add, Text,, For [Only registered and activated users can see links. Click Here To Register...]
Gui, Add, Text,x10 y42 w100 h20, Auto-summon-guard.
Gui, Add, Text,x15 y62 w190 h20, To start, press F10 on active window,
Gui, Add, Text,x65 y82 w150 h20, now press Ok
Gui, Add, Button, x150 y102 w60 h20 vButton gStart, Ok
Gui, Add, Text,x55 y122 w100 h20, v1.0 by Diabox
Gui, Show
return
Start:
Gui, Submit, Hide
;MsgBox, To start press F10 on active window`n`n Beta version`n v1.0 by Diabox `n`n special for [Only registered and activated users can see links. Click Here To Register...] community
;#NoTrayIcon
*F10::
WinGet,id, ID,[Conquer2.0]
gata := false
MsgBox, Started
loop
{
;ControlSend,,F6,ahk_id %id%
ControlClick,ahk_id %id%,,RIGHT
ControlSend,,F5,ahk_id %id%
Sleep, 60000
}
*F11::ExitApp
;GuiClose:
return
it's supposed to press f6, then right click and then press f5 and then wait 60 seconds to perform the same thing again. But it doesn't work, anyone knows why it doesn't work? I'm quite a nuub with autohotkey.