Jump to content

DennisH

Members
  • Posts

    2
  • Joined

  • Last visited

DennisH's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. it's not really game automation. The function exist in newer versions of World of Warcraft, but i'm playing an older version that does not have it
  2. Hello I've been using AutoIt for about a month now, and i'm really enoying it! I have some trouble with the last script i wrote, and i can't really understand why (In World of Warcraft 1.21 Autoloot does not exist, and there is no addon for it, so i decided to make a script) #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.8.1 Author: DennisH Script Function: Dette program sørger for at autoloote når der skal lootes. Programmet i al sin enkelhed holder shift tasten nede i 10 millisekunder når der trykkes på højre musetast #ce ---------------------------------------------------------------------------- #Include <Misc.au3> HotKeySet("^{F4}", "Terminate") ;$dll = DllOpen("user32.dll") TraySetToolTip("Tryk på CTRL+F4 for at afslutte AutoLoot") While 1 $pressed = _IsPressed("02") Sleep (1) If $pressed = True Then While $pressed = true $pressed = _IsPressed("02") WEnd ;MsgBox(1,"miav",$pressed) Send ("{SHIFTDOWN}") sleep(5) MouseClick ("right") ;Sleep(20) Send ("{SHIFTUP}") EndIf WEnd DllClose($dll) Exit Func Terminate() Exit 0 EndFunc The problem i'm having, is that i the first time i right click, it doesn't work, the next two times it works, and that repeats itself. After the two succesfull AutoLoot's i press other buttons. I really hope you can help
×
×
  • Create New...