Autohotkey help

Hi after a car wreck where I put my left hand through the windshield this site has allowed me to play again but I am still wearing out my fingers spamming the key I have the macro on and if I read correctly hitting the button too fast will make you skip over parts of it, So I downloaded auto hot key but am at a loss as to use it all I want to do is get semi close to what the click rate should be, also I would like to be able to hit the button once to turn on and a second time to shut it off or death of target if possible. Thanks

Hi Sofizzle

For something easier to configure check out PunchKey - It will do the numbers 1-9 and set either a repeat rate or a toggle on/off.

If you search here there are a ton of posts on configuring AHK. It has a learning curve but once set is set and forget. I dont know if it will do the toggle thing you want.

Thanks I will check it out

punchkey was so much easier to work with thank you so much

In a related thread, PunchKey is mentioned as an alternative to AHK.

This product worries me as the documentation says one can set it to repeat a number key while holding the key or to press the key once and it will auto repeat until pressed again.

This latter option sounds like the capability of automation which is a big ToS No-No.

What’s the truth here?

The press to toggle on and off can also be done in AHK and on hardware like Razor and Logitech Mice and Keyboards. I use both Puchkey and AHK in the hold down mode.

Hello people…

I found a AHK-code (snippet) - It worked before i formarted my computer.
but now do it not work.

And i have tryed to clear it, but i cant see the problem at line 19 :confused:

Code:

WinGet, wowid, List, World of Warcraft
#ifWinActive World of Warcraft
; to force the hotkey only to WoW

toggleST := false
toggleAOE := false
toggleHealdmg := false

CustomColor = 000000 ; Can be any RGB color (it will be made transparent below).
Gui +LastFound +AlwaysOnTop +ToolWindow -Caption ; +ToolWindow avoids a taskbar button and an alt-tab menu item.
Gui, Color, %CustomColor%
Gui, Font, s14 q3 ; q3 to non-antialias the text, only works in AHK_L
Gui, Add, Text, vMyText cLime w200 +Center
Gui, Add, Text, vMyText2 cLime w300
Gui, Add, Text, vMyText3 cLime w300
WinSet, TransColor, %CustomColor% 150
sw := A_ScreenWidth/100
sh := A_ScreenHeight/100
Gui, Show, % “x” . sw*44 . ” y” sh*2, NoActivate ; NoActivate avoids deactivating the currently active window.
return

$F1::
if(toggle1) {
  toggle1 := false
  SetTimer, Send1, Off
  GuiControl,, MyText,
} else {
toggle1 := true
toggle2 := false
toggle3 := false
SetTimer, Send2, Off
SetTimer, Send3, Off
GuiControl,, MyText2,
GuiControl,, MyText3,
; Choose a delay here!
SetTimer, Send1, 100
GuiControl,, MyText, F1 ENABLED
}
return

$F2::
if(toggle2) {
toggle2 := false
SetTimer, Send2, Off
GuiControl,, MyText2,
} else {
toggle2 := true
toggle1 := false
toggle3 := false
SetTimer, Send1, Off
SetTimer, Send3, Off
GuiControl,, MyText,
GuiControl,, MyText3,
; Choose a delay here!
SetTimer, Send2, 100
GuiControl,, MyText2, F2 ENABLED
}
return

$F3::
if(toggle3) {
toggle3 := false
SetTimer, Send3, Off
GuiControl,, MyText3,
} else {
toggle3 := true
toggle1 := false
toggle2 := false
SetTimer, Send1, Off
SetTimer, Send2, Off
GuiControl,, MyText,
GuiControl,, MyText2,
; Choose a delay here!
SetTimer, Send3, 100
GuiControl,, MyText3, F3 ENABLED
}
return

Send1:
ifWinActive, World of Warcraft
Send {F1}
return

Send2:
ifWinActive, World of Warcraft
Send {F2}
return

Send3:
ifWinActive, World of Warcraft
Send {F3}
return

#ifWinActive
; to end the WoW key binding

And Error: (Screenshot) -> http://i.imgur.com/a4H2Jw9.png

bump

Here ya go, fixed the error for you Horniibabz

You can change the line

Gui, Show, x915 y0, NoActivate ; NoActivate avoids deactivating the currently active window.

where x915 y0 is to any X,Y coordinate you like

also here is the page for a simple X,Y coordinate display tool
Realtime Mouse Position Tool

WinGet, wowid, List, World of Warcraft
#ifWinActive World of Warcraft
; to force the hotkey only to WoW
 
toggleST := false
toggleAOE := false
toggleHealdmg := false
 
CustomColor = 000000 ; Can be any RGB color (it will be made transparent below).
Gui +LastFound +AlwaysOnTop +ToolWindow -Caption ; +ToolWindow avoids a taskbar button and an alt-tab menu item.
Gui, Color, %CustomColor%
Gui, Font, s14 q3 ; q3 to non-antialias the text, only works in AHK_L
Gui, Add, Text, vMyText cLime w200 +Center
Gui, Add, Text, vMyText2 cLime w300
Gui, Add, Text, vMyText3 cLime w300
WinSet, TransColor, %CustomColor% 150
sw := A_ScreenWidth/100
sh := A_ScreenHeight/100
Gui, Show, x915 y0, NoActivate ; NoActivate avoids deactivating the currently active window.
return
 
$F1::
if(toggle1) {
  toggle1 := false
  SetTimer, Send1, Off
  GuiControl,, MyText,
} else {
toggle1 := true
toggle2 := false
toggle3 := false
SetTimer, Send2, Off
SetTimer, Send3, Off
GuiControl,, MyText2,
GuiControl,, MyText3,
; Choose a delay here!
SetTimer, Send1, 100
GuiControl,, MyText, F1 ENABLED
}
return
 
$F2::
if(toggle2) {
toggle2 := false
SetTimer, Send2, Off
GuiControl,, MyText2,
} else {
toggle2 := true
toggle1 := false
toggle3 := false
SetTimer, Send1, Off
SetTimer, Send3, Off
GuiControl,, MyText,
GuiControl,, MyText3,
; Choose a delay here!
SetTimer, Send2, 100
GuiControl,, MyText2, F2 ENABLED
}
return
 
$F3::
if(toggle3) {
toggle3 := false
SetTimer, Send3, Off
GuiControl,, MyText3,
} else {
toggle3 := true
toggle1 := false
toggle2 := false
SetTimer, Send1, Off
SetTimer, Send2, Off
GuiControl,, MyText,
GuiControl,, MyText2,
; Choose a delay here!
SetTimer, Send3, 100
GuiControl,, MyText3, F3 ENABLED
}
return
 
Send1:
ifWinActive, World of Warcraft
Send {F1}
return
 
Send2:
ifWinActive, World of Warcraft
Send {F2}
return
 
Send3:
ifWinActive, World of Warcraft
Send {F3}
return
 
#ifWinActive
; to end the WoW key binding