The Bytecode Club

Full Version: ControlClick help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can someone explain to me how the bot sends click commands to bluestacks... im pretty new to autoit I cant seem to get it working with my own scripts

-Thanks
With this function:
Code:
Func Click($x, $y, $times = 1, $speed = 0)
If $times <> 1 Then
        For $i = 0 To ($times - 1)
            ControlClick("BlueStacks App Player", "", "", "left", "1", $x, $y)
            If _Sleep($speed, False) Then ExitLoop
        Next
    Else
        ControlClick("BlueStacks App Player", "", "", "left", "1", $x, $y)
    EndIf
EndFunc   ;==>Click
(02-11-2015, 01:33 AM)Snarg Wrote: [ -> ]With this function:
Code:
Func Click($x, $y, $times = 1, $speed = 0)
If $times <> 1 Then
        For $i = 0 To ($times - 1)
            ControlClick("BlueStacks App Player", "", "", "left", "1", $x, $y)
            If _Sleep($speed, False) Then ExitLoop
        Next
    Else
        ControlClick("BlueStacks App Player", "", "", "left", "1", $x, $y)
    EndIf
EndFunc   ;==>Click

Thank you! I should have known that, I'm dumb