Jump to content
Sign in to follow this  
ExZeRoEx

New version of autoit and now my macros are weird.

Recommended Posts

ExZeRoEx

I used to be able to just use stuff like alt-4 to type out a message to my friends. Now I realize that it seems the alt gets stuck so that if I press something else like 4 again without even holding down the alt key it is like it's stuck. Anything line or something that needs to be added to get rid of this problem. It's getting a little annoying.

Share this post


Link to post
Share on other sites
ExZeRoEx

$g_szVersion = "DotaHelper"
If WinExists($g_szVersion) Then Exit
AutoItWinSetTitle($g_szVersion)
Opt("SendKeyDelay", 1)
 
Global $Mode
HotKeySet("!1", "AREM")
HotKeySet("{End}", "Terminate")

While 1
    Sleep(50)
WEnd

Func AREM()
    Send("{Enter}")
    Sleep(50)
    Send("-arem")
    Send("{Enter}")
EndFunc

Func Terminate()
    Exit
EndFunc

Something like that, just I have a few more of them. It's very simple. Not a programmer here, don't know any kind of tricks or more complicated functions.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.