Jump to content

Recommended Posts

Posted

I'm trying to make a script that will press "ctrl ctrl g g g g" [with a .5sec. delay between each, preff.]

I thought "^" was for ctrl, but it did not work. Maybe it's because it pressed it too fast, though?

I'm trying to use this along with MMOGlider, if anyone cares to know.

Thanks.

Posted

While 1
Send("^^GGGG")
Sleep(60000)
WEnd
How about...

Dim $avKeys[6] = ["{LCTRL}", "{LCTRL}", "G", "G", "G", "G"]

HotKeySet("{ESC}", "_Quit")

While 1
    For $n = 0 To UBound($avKeys) - 1
        Send($avKeys[$n])
        Sleep(500)
    Next
    Sleep(60000)
WEnd

Func _Quit()
    Exit
EndFunc   ;==>_Quit

Has .5sec between keystrokes, repeats entire pattern every minute, hit ESC to quit.

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...