Sign in to follow this  
Followers 0
Plecharts

WoW _IsPressed Problem

4 posts in this topic

Hi, I'm trying to make a script, something like a binder for WoW

Script:

#Include <Misc.au3>
#Include <GUIConstants.au3>

$file = FileOpen("keys.txt", 1)
$time = 10000 ; 10 seconds

$dll = DllOpen("user32.dll")

Func _LogWindow($time)

    If WinActive("World of Warcraft") Then
        $status = "WoW Active"
    FileWriteLine($file, $status)
    Sleep($time) ; Sleep <time>
    EndIf
EndFunc

Func _LogKeyPress($whatlog)
    FileWriteLine($file, $whatlog)
    Sleep(90)
EndFunc

while 1
       If _IsPressed('28', $dll) Then
    _LogKeyPress("{DOWN ARROW}")
        EndIf
WEnd

In Windows, it does what it is supposed to, but in game it doesn't.

Share this post


Link to post
Share on other sites



It's a simple binder, nothing automatizing game.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0