Sign in to follow this  
Followers 0
Rub3n5

AutoCombo - MuOnline

1 post in this topic

Hello My Code Is This Form:

TrayTip("[autocombo] F9 on f10 off, F11 quit.", 8, 16)


Opt("SendKeyDelay", 1)
#include <misc.au3>

HotKeySet("{F9}", "combo")
HotKeySet("{F11}","Leave")

HotKeySet("{F10}", "StopGo")
Global $count = 1, $halt = False
while 1
    sleep(50)
WEnd

Func Combo()
    $halt = false
    While 1
        
        If _IsPressed("02") Then; if  right mouse button pressed
            Send(String($count))
            
            while _IsPressed("02");wait for key to be released
                sleep(30)
            WEnd
            
            $count += 1
            If $count > 3 Then $count = 1
        EndIf
        if $halt then return

    WEnd
EndFunc  ;==>Combo



Func StopGo();stop reacting to mouse button
    $halt = True
EndFunc  ;==>StopGo

Func Leave()
    Exit
EndFunc

How can I make the application Press the buttons 1,2,3 automatically when launching?

Thank's You!

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0