Rub3n5 Posted January 6, 2010 Share Posted January 6, 2010 Hello My Code Is This Form: expandcollapse popupTrayTip("[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! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now