Magika Autoit script

AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box with no annoying "runtimes" required!
Admin
Site Admin
Posts: 955
Joined: Thu Aug 23, 2007 10:35 am

Magika Autoit script

Postby Admin » Mon Oct 09, 2017 3:52 am

Code: Select all

HotKeySet("{F5}", "shieldlheal")
HotKeySet("{F6}", "wall")
HotKeySet("{F7}", "beam")
HotKeySet("{F8}", "shockwave")
;Opt("SendKeyDelay", 10) ;5 milliseconds
While 1
    ; A loop
WEnd

Func shieldlheal()
   send("3")
   Sleep(50)
   send("wwwww")
   MouseDown("middle") ; Set the left mouse button state as down.
   Sleep(3000)
   MouseUp("middle")
   Sleep(300)

   send("qrqrqrde")
   MouseClick ( "middle")
   Sleep(500)

   ;send("2")
   ;Sleep(50)
EndFunc

Func beam()
   ;send("2")
   ;Sleep(50)
    send("qfqfqfas")
EndFunc

Func wall()
    send("eqrqrsa")
EndFunc

Func shockwave()
    send("sqfqfqfa")
   send("{SHIFTDOWN}")
   MouseClick ( "middle")
   Sleep(50)
   send("{SHIFTUP}")
   ;Sleep(50)
   ;send("2")

EndFunc

Return to “AutoIT V2/V3”

Who is online

Users browsing this forum: No registered users and 1 guest