Requesting AutoHotKey Script.

Locked and being moved to appropriate class sections

Requesting AutoHotKey Script.

Postby Erpforlife » 09 Feb 2014, 15:02

Need it to be easily editable/compact, mash buttons pressed with and without modifier.
All I have is this which is alot to customize for each character:
~NumLock::Suspend, Toggle
~Enter::Suspend, Toggle
#ifWinActive World of Warcraft
1::
Loop
{
if not GetKeyState("1", "P")
break
Send 1
Sleep 1
}

I want something like
Keys:123456§qertyafg<zxcv
key::
Loop
{
if not GetKeyState("key", "P")
break
Send key
Sleep 1

Maybe there's a way to mash ALL buttons?
I did search on AHK forums with no success.
User avatar
 
Posts: 304
Joined: 26 Jun 2013, 07:49
 

Re: Requesting AutoHotKey Script.

Postby Erpforlife » 09 Feb 2014, 17:03

Bumping with huge script for 'common' qwerty keybinds with modifiers.
Also beware this one gets stuck in loop randomly.

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
~NumLock::Suspend, Toggle
~Enter::Suspend, Toggle
#ifWinActive World of Warcraft
$1::
Loop
{
if not GetKeyState("1", "P")
break
Send 1
Sleep 1
}
$+1::
Loop
{
if not GetKeyState("1", "P")
break
Send +1
Sleep 1
}
$^1::
Loop
{
if not GetKeyState("1", "P")
break
Send ^1
Sleep 1
}
$!1::
Loop
{
if not GetKeyState("1", "P")
break
Send !1
Sleep 1
}

;-----------------------------------------

$2::
Loop
{
if not GetKeyState("2", "P")
break
Send 2
Sleep 1
}
$+2::
Loop
{
if not GetKeyState("2", "P")
break
Send +2
Sleep 1
}
$^2::
Loop
{
if not GetKeyState("2", "P")
break
Send ^2
Sleep 1
}
$!2::
Loop
{
if not GetKeyState("2", "P")
break
Send !2
Sleep 1
}

;-----------------------------------------

$3::
Loop
{
if not GetKeyState("3", "P")
break
Send 3
Sleep 1
}
$+3::
Loop
{
if not GetKeyState("3", "P")
break
Send +3
Sleep 1
}
$^3::
Loop
{
if not GetKeyState("3", "P")
break
Send ^3
Sleep 1
}
$!3::
Loop
{
if not GetKeyState("3", "P")
break
Send !3
Sleep 1
}

;-----------------------------------------

$4::
Loop
{
if not GetKeyState("4", "P")
break
Send 4
Sleep 1
}
$+4::
Loop
{
if not GetKeyState("4", "P")
break
Send +4
Sleep 1
}
$^4::
Loop
{
if not GetKeyState("4", "P")
break
Send ^4
Sleep 1
}
$!4::
Loop
{
if not GetKeyState("4", "P")
break
Send !4
Sleep 1
}

;-----------------------------------------

$5::
Loop
{
if not GetKeyState("5", "P")
break
Send 5
Sleep 1
}
$+5::
Loop
{
if not GetKeyState("5", "P")
break
Send +5
Sleep 1
}
$^5::
Loop
{
if not GetKeyState("5", "P")
break
Send ^5
Sleep 1
}
$!5::
Loop
{
if not GetKeyState("5", "P")
break
Send !5
Sleep 1
}

;-----------------------------------------

$6::
Loop
{
if not GetKeyState("6", "P")
break
Send 6
Sleep 1
}
$+6::
Loop
{
if not GetKeyState("6", "P")
break
Send +6
Sleep 1
}
$^6::
Loop
{
if not GetKeyState("6", "P")
break
Send ^6
Sleep 1
}
$!6::
Loop
{
if not GetKeyState("6", "P")
break
Send !6
Sleep 1
}

;-----------------------------------------

$q::
Loop
{
if not GetKeyState("q", "P")
break
Send q
Sleep 1
}
$+q::
Loop
{
if not GetKeyState("q", "P")
break
Send +q
Sleep 1
}
$^q::
Loop
{
if not GetKeyState("q", "P")
break
Send ^q
Sleep 1
}
$!q::
Loop
{
if not GetKeyState("q", "P")
break
Send !q
Sleep 1
}

;-----------------------------------------

$e::
Loop
{
if not GetKeyState("e", "P")
break
Send e
Sleep 1
}
$+e::
Loop
{
if not GetKeyState("e", "P")
break
Send +e
Sleep 1
}
$^e::
Loop
{
if not GetKeyState("e", "P")
break
Send ^e
Sleep 1
}
$!e::
Loop
{
if not GetKeyState("e", "P")
break
Send !e
Sleep 1
}

;-----------------------------------------

$r::
Loop
{
if not GetKeyState("r", "P")
break
Send r
Sleep 1
}
$+r::
Loop
{
if not GetKeyState("r", "P")
break
Send +r
Sleep 1
}
$^r::
Loop
{
if not GetKeyState("r", "P")
break
Send ^r
Sleep 1
}
$!r::
Loop
{
if not GetKeyState("r", "P")
break
Send !r
Sleep 1
}

;-----------------------------------------

$t::
Loop
{
if not GetKeyState("t", "P")
break
Send t
Sleep 1
}
$+t::
Loop
{
if not GetKeyState("t", "P")
break
Send +t
Sleep 1
}
$^t::
Loop
{
if not GetKeyState("t", "P")
break
Send ^t
Sleep 1
}
$!t::
Loop
{
if not GetKeyState("t", "P")
break
Send !t
Sleep 1
}

;-----------------------------------------

$y::
Loop
{
if not GetKeyState("y", "P")
break
Send y
Sleep 1
}
$+y::
Loop
{
if not GetKeyState("y", "P")
break
Send +y
Sleep 1
}
$^y::
Loop
{
if not GetKeyState("y", "P")
break
Send ^y
Sleep 1
}
$!y::
Loop
{
if not GetKeyState("y", "P")
break
Send !y
Sleep 1
}

;-----------------------------------------

$f::
Loop
{
if not GetKeyState("f", "P")
break
Send f
Sleep 1
}
$+f::
Loop
{
if not GetKeyState("f", "P")
break
Send +f
Sleep 1
}
$^f::
Loop
{
if not GetKeyState("f", "P")
break
Send ^f
Sleep 1
}
$!f::
Loop
{
if not GetKeyState("f", "P")
break
Send !f
Sleep 1
}

;-----------------------------------------

$g::
Loop
{
if not GetKeyState("g", "P")
break
Send g
Sleep 1
}
$+g::
Loop
{
if not GetKeyState("g", "P")
break
Send +g
Sleep 1
}
$^g::
Loop
{
if not GetKeyState("g", "P")
break
Send ^g
Sleep 1
}
$!g::
Loop
{
if not GetKeyState("g", "P")
break
Send !g
Sleep 1
}

;-----------------------------------------

$<::
Loop
{
if not GetKeyState("<", "P")
break
Send <
Sleep 1
}
$+<::
Loop
{
if not GetKeyState("<", "P")
break
Send +<
Sleep 1
}
$^<::
Loop
{
if not GetKeyState("<", "P")
break
Send ^<
Sleep 1
}
$!<::
Loop
{
if not GetKeyState("<", "P")
break
Send !<
Sleep 1
}

;-----------------------------------------

$z::
Loop
{
if not GetKeyState("z", "P")
break
Send z
Sleep 1
}
$+z::
Loop
{
if not GetKeyState("z", "P")
break
Send +z
Sleep 1
}
$^z::
Loop
{
if not GetKeyState("z", "P")
break
Send ^z
Sleep 1
}
$!z::
Loop
{
if not GetKeyState("z", "P")
break
Send !z
Sleep 1
}

;-----------------------------------------

$x::
Loop
{
if not GetKeyState("x", "P")
break
Send x
Sleep 1
}
$+x::
Loop
{
if not GetKeyState("x", "P")
break
Send +x
Sleep 1
}
$^x::
Loop
{
if not GetKeyState("x", "P")
break
Send ^x
Sleep 1
}
$!x::
Loop
{
if not GetKeyState("x", "P")
break
Send !x
Sleep 1
}

;-----------------------------------------

$c::
Loop
{
if not GetKeyState("c", "P")
break
Send c
Sleep 1
}
$+c::
Loop
{
if not GetKeyState("c", "P")
break
Send +c
Sleep 1
}
$^c::
Loop
{
if not GetKeyState("c", "P")
break
Send ^c
Sleep 1
}
$!c::
Loop
{
if not GetKeyState("c", "P")
break
Send !c
Sleep 1
}

;-----------------------------------------

$v::
Loop
{
if not GetKeyState("v", "P")
break
Send v
Sleep 1
}
$+v::
Loop
{
if not GetKeyState("v", "P")
break
Send +v
Sleep 1
}
$^v::
Loop
{
if not GetKeyState("v", "P")
break
Send ^v
Sleep 1
}
$!v::
Loop
{
if not GetKeyState("v", "P")
break
Send !v
Sleep 1
}

;-----------------------------------------

$XButton1::
Loop
{
if not GetKeyState("XButton1", "P")
break
Send {XButton1}
Sleep 1
}
$+XButton1::
Loop
{
if not GetKeyState("XButton1", "P")
break
Send +{XButton1}
Sleep 1
}
$^XButton1::
Loop
{
if not GetKeyState("XButton1", "P")
break
Send ^{XButton1}
Sleep 1
}
$!XButton1::
Loop
{
if not GetKeyState("XButton1", "P")
break
Send !{XButton1}
Sleep 1
}

;-----------------------------------------

$XButton2::
Loop
{
if not GetKeyState("XButton2", "P")
break
Send {XButton2}
Sleep 1
}
$+XButton2::
Loop
{
if not GetKeyState("XButton2", "P")
break
Send +{XButton2}
Sleep 1
}
$^XButton2::
Loop
{
if not GetKeyState("XButton2", "P")
break
Send ^{XButton2}
Sleep 1
}
$!XButton2::
Loop
{
if not GetKeyState("XButton2", "P")
break
Send !{XButton2}
Sleep 1
}

;-----------------------------------------

$MButton::
Loop
{
if not GetKeyState("MButton", "P")
break
Send {MButton}
Sleep 1
}
$+MButton::
Loop
{
if not GetKeyState("MButton", "P")
break
Send +{MButton}
Sleep 1
}
$^MButton::
Loop
{
if not GetKeyState("MButton", "P")
break
Send ^{MButton}
Sleep 1
}
$!MButton::
Loop
{
if not GetKeyState("MButton", "P")
break
Send !{MButton}
Sleep 1
}

;-----------------------------------------

$TAB::
Loop
{
if not GetKeyState("TAB", "P")
break
Send {TAB}
Sleep 1
}
$+TAB::
Loop
{
if not GetKeyState("TAB", "P")
break
Send +{TAB}
Sleep 1
}
$^TAB::
Loop
{
if not GetKeyState("TAB", "P")
break
Send ^{TAB}
Sleep 1
}

;-----------------------------------------

$sc029::
Loop
{
if not GetKeyState("sc029", "P")
break
Send {sc029}
Sleep 1
}
$+sc029::
Loop
{
if not GetKeyState("sc029", "P")
break
Send +{sc029}
Sleep 1
}
$^sc029::
Loop
{
if not GetKeyState("sc029", "P")
break
Send ^{sc029}
Sleep 1
}
$!sc029::
Loop
{
if not GetKeyState("sc029", "P")
break
Send !{sc029}
Sleep 1
}

;-----------------------------------------

$F1::
Loop
{
if not GetKeyState("F1", "P")
break
Send {F1}
Sleep 1
}
$+F1::
Loop
{
if not GetKeyState("F1", "P")
break
Send +{F1}
Sleep 1
}
$^F1::
Loop
{
if not GetKeyState("F1", "P")
break
Send ^{F1}
Sleep 1
}
$!F1::
Loop
{
if not GetKeyState("F1", "P")
break
Send !{F1}
Sleep 1
}

;-----------------------------------------

$F2::
Loop
{
if not GetKeyState("F2", "P")
break
Send {F2}
Sleep 1
}
$+F2::
Loop
{
if not GetKeyState("F2", "P")
break
Send +{F2}
Sleep 1
}
$^F2::
Loop
{
if not GetKeyState("F2", "P")
break
Send ^{F2}
Sleep 1
}
$!F2::
Loop
{
if not GetKeyState("F2", "P")
break
Send !{F2}
Sleep 1
}

;-----------------------------------------

$F3::
Loop
{
if not GetKeyState("F3", "P")
break
Send {F3}
Sleep 1
}
$+F3::
Loop
{
if not GetKeyState("F3", "P")
break
Send +{F3}
Sleep 1
}
$^F3::
Loop
{
if not GetKeyState("F3", "P")
break
Send ^{F3}
Sleep 1
}
$!F3::
Loop
{
if not GetKeyState("F3", "P")
break
Send !{F3}
Sleep 1
}

;-----------------------------------------

$F4::
Loop
{
if not GetKeyState("F4", "P")
break
Send {F4}
Sleep 1
}
$+F4::
Loop
{
if not GetKeyState("F4", "P")
break
Send +{F4}
Sleep 1
}
$^F4::
Loop
{
if not GetKeyState("F4", "P")
break
Send ^{F4}
Sleep 1
}
$!F4::
Loop
{
if not GetKeyState("F4", "P")
break
Send !{F4}
Sleep 1
}
Last edited by Erpforlife on 10 Feb 2014, 15:31, edited 3 times in total.
User avatar
 
Posts: 304
Joined: 26 Jun 2013, 07:49
 

Re: Requesting AutoHotKey Script.

Postby Broxis » 09 Feb 2014, 17:05

just play the game...
wtf is wrong with these autohotkey ahk whatever people
Zanazuah wrote:Hpala/dlock isn't an aids comp
User avatar
 
Posts: 273
Joined: 23 Oct 2012, 19:58
 

Re: Requesting AutoHotKey Script.

Postby Erpforlife » 09 Feb 2014, 17:24

Broxis wrote:just play the game...
wtf is wrong with these autohotkey ahk whatever people

well you could say that about anything, why use macros when u can just play the game? why use focus target?

not my fault blizzard werent smart enough to make this a feature ingame
User avatar
 
Posts: 304
Joined: 26 Jun 2013, 07:49
 

Re: Requesting AutoHotKey Script.

Postby Breakyaneckx » 10 Feb 2014, 04:41

I feel like you post this on AT forums instead of a proper script forum just to show us that you have autohotkey downloaded.

Either that or you want to be edgy..
"ask her on a scale of 1-10 how wet do cheddar biscuits make her"
User avatar
 
Posts: 171
Joined: 01 Jan 2014, 01:11
 

Re: Requesting AutoHotKey Script.

Postby Erpforlife » 10 Feb 2014, 06:35

Breakyaneckx wrote:I feel like you post this on AT forums instead of a proper script forum just to show us that you have autohotkey downloaded.

Either that or you want to be edgy..

ya ahk is like wow's lamborghini

just waiting for dem grills in my brand new ahk
User avatar
 
Posts: 304
Joined: 26 Jun 2013, 07:49
 

Re: Requesting AutoHotKey Script.

Postby Kavax » 10 Feb 2014, 10:54

Erpforlife wrote:well you could say that about anything, why use macros when u can just play the game? why use focus target?


Cuz they are features within the game ?
how easy do you need to make your playing experience to be satisfied
omg teech me how to ahk i pley better mash my keys for me plz )))

Broxis wrote:just play the game...


why put so much effort into scripting shit that you have no idea about when all it does is mash your key for you
Mnemosyn wrote:Have you ever tried to shave your pubes into a swastika
User avatar
 
Posts: 827
Joined: 06 Mar 2013, 21:28
 

Re: Requesting AutoHotKey Script.

Postby Erpforlife » 20 Feb 2014, 07:46

bump cus mine malfunctions sometimes and can only mash 1 button at a time
User avatar
 
Posts: 304
Joined: 26 Jun 2013, 07:49
 

Re: Requesting AutoHotKey Script.

Postby Imswagginx » 20 Feb 2014, 14:37

lol noob has to be carried by autohotkey
User avatar
 
Posts: 183
Joined: 07 Feb 2013, 13:49
 

Re: Requesting AutoHotKey Script.

Postby Embersky » 20 Feb 2014, 22:25

CallFunction(#GoFuckYourself, Idiot$ [,Parameter1 [, Parameter2...]])

That should help AHK users.
User avatar
 
Posts: 535
Joined: 03 Jul 2012, 19:13
Location: USA
 

Re: Requesting AutoHotKey Script.

Postby Erpforlife » 21 Feb 2014, 05:52

Kavax wrote:Cuz they are features within the game ?

So what? Top players on ladder use it and it's allowed why shouldn't I use it? It basically reduces ur ms.

If you got a problem with it: suggest to make such programs/hardware illegal, trashtalking here trying to shame players using it wont do much.
I think it shouldn't be against rules simply because players using it will be hard to catch, and it's better to let everyone get the benefit instead of just a few who doesn't stream and get caught.
User avatar
 
Posts: 304
Joined: 26 Jun 2013, 07:49
 

Re: Requesting AutoHotKey Script.

Postby applefruit » 21 Feb 2014, 10:37

When people will try this program instead of trash talking here about what they THINK it does all this hate for Ahk will end.
I'll call the spirits of death and kill you in your sleep Serenity - Sectapunter.


skyL wrote:UnhDk are one of most hardest classes.


Notgoochi wrote:Im not a Bc hero, i also played TC to 2,6.
User avatar
 
Posts: 1670
Joined: 26 Jun 2012, 11:23
 

Re: Requesting AutoHotKey Script.

Postby Decrepified » 21 Feb 2014, 16:57

Erpforlife wrote:
Breakyaneckx wrote:I feel like you post this on AT forums instead of a proper script forum just to show us that you have autohotkey downloaded.

Either that or you want to be edgy..

ya ahk is like wow's lamborghini

just waiting for dem grills in my brand new ahk

Spoiler
Hahaha I like this guy.


Anyway don't take this random hate, filled with insecurity, too seriously.
With that said, AT most likely has no one who knows scripting very well; I would look somewhere else.
If you find an answer, please PM me, I'm curious for this as well.
User avatar
 
Posts: 31
Joined: 24 Dec 2013, 01:04
 

Re: Requesting AutoHotKey Script.

Postby Wargorn » 21 Feb 2014, 17:28

Image What is left of this game?
User avatar
 
Posts: 101
Joined: 14 Jan 2013, 18:07
Location: Amsterdam
 

Re: Requesting AutoHotKey Script.

Postby Timur » 21 Feb 2014, 17:47

Wargorn wrote:Image What is left of this game?


Beastcleave
User avatar
 
Posts: 65
Joined: 14 Oct 2013, 18:24
 

Return to Macros

Who is online

Users browsing this forum: No registered users and 1 guest

cron