Sign in to follow this  
Followers 0
Autoer

CTRL not working?

6 posts in this topic

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.

Share this post


Link to post
Share on other sites



do you have a script we can see?

While 1
Send("^^GGGG")
Sleep(60000)
WEnd

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

:)

Thank you very much. ;)

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0