tommeke228 Posted April 30, 2008 Share Posted April 30, 2008 (edited) Now i got thisHotKeySet("{NUMPAD4}", "idle")but i want that you need to double press the hotkey in least then 1000msec thxhere is the program xD (if you need it )expandcollapse popup#Region #AutoIt3Wrapper_useupx=n #endregion Global $POS1 Global $POS2 MsgBox(64, "AutoDrop", "Gold Dropper On", 3) HotKeySet("{NUMPAD7}", "record1") Func RECORD1() $POS1 = MouseGetPos() MsgBox(64, "Msg", "Drop position is set to (" & $POS1[0] & ", " & $POS1[1] & ")", 3) EndFunc HotKeySet("{NUMPAD8}", "record2") Func RECORD2() $POS2 = MouseGetPos() MsgBox(64, "Msg", "Click position is set to (" & $POS2[0] & ", " & $POS2[1] & ")", 3) EndFunc HotKeySet("{NUMPAD4}", "idle") Func IDLE() While 1 Sleep(500) WEnd EndFunc HotKeySet("{NUMPAD5}", "click") Func CLICK() While 1 MouseClick("left", $POS1[0], $POS1[1], 1, 0) Send("1") MouseClick("left", $POS2[0], $POS2[1], 1, 0) Sleep(800) WEnd EndFunc IDLE() Edited April 30, 2008 by tommeke228 Link to comment Share on other sites More sharing options...
Pain Posted April 30, 2008 Share Posted April 30, 2008 MouseClick ( "button" , x, y , clicks , speed ) so MouseClick ("left", POS1[0], $POS1[1], 2, 0) Link to comment Share on other sites More sharing options...
tommeke228 Posted April 30, 2008 Author Share Posted April 30, 2008 nono user must press button twice in 1 sec then msgbox 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