OutdatedCustom Fire Macro

Posts 1–5 of 5 · Page 1 of 1
Custom Fire Macro
Custom fire macro made in autoit3
Possible bugs, edit to your likings.

Code:
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include<misc.au3>

Opt("MouseClickDownDelay", 2)
Opt("MouseClickDelay", 2)
Opt("SendKeyDelay", 2)
Opt("SendKeyDownDelay", 2)

HotKeySet("{End}", "Click")
HotKeySet("{Del}", "EndApp")
HotKeySet("{Ins}", "Gui")

Global $Alive
GLOBAL $Macro = 50


While 1
   Sleep(100)
   WEnd
   



    func Gui()


$Title = GUICreate("Serges Fail Macro", 150, 150, 400, 400)
$Macro = GUICtrlCreateInput($Macro, 40, 50, 75, 0)
$SetMacro = GUICtrlCreateButton("Set", 40, 75, 75, 21, $WS_GROUP)
GUISetState(@SW_SHOW)
Sleep(10)




While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $SetMacro
$Macro = GUICtrlRead($Macro)
GUIDelete($Title)
EndSwitch
WEnd
EndFunc 





   Func Click()
        $Alive = Not $Alive
      
      While $Alive
         
    If _IsPressed("01") Then
        Sleep(1)
        MouseDown("Middle")
        Sleep(1)
        MouseUp("Middle")
        Sleep($Macro)
EndIf
WEnd
 EndFunc


 

 
  func EndApp()
      Exit 0
   EndFunc
Quote Originally Posted by *Firefly View Post
Cause we are living in a material world and I, am a material girl!
This guy...
C++ is much better for me but sometimes autoit not working i think it depend how use it
Quote Originally Posted by COD3RIN View Post
C++ is much better for me but sometimes autoit not working i think it depend how use it
Autoit is detected for ava or i am mistaken?
Quote Originally Posted by TheLastEmperor View Post
Autoit is detected for ava or i am mistaken?
i know that but thanks
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us