Jump to content


AUTO HOT KEY / WOW (Vith's script)


  • Please log in to reply
37 replies to this topic

#1 jsilva191

jsilva191
  • Guests

Posted 07 December 2007 - 05:50 AM

AUTO HOT KEY / WOW
writtin by: Vith


Here's my own personal AutoHotKey Script that has been shortend a bit so that people can understand the basics of AHK WOW Start up your AutoHotkey( if you dont have the program download it ).

http://www.autohotke... ... nstall.exe

....Once downloaded completly (and i'm sure you know how to install a download) Go to your startbar: All Programs: Autohotkey folder: start Autohotkey program....once program is running go to your bottom right of the task bar and right click the green icon ( auto hot key )
click "Edit this script" and past the following script below. DO make sure you copy the entire script.... if any errors come up you did something wrong.

Once you past it into the note pad, make sure
that you save the file. After doing so look at the bottom right
taskbar and right click the green icon ( auto hot key )
click "Reload Script" this will load it and it will begin to work.

Suggested to have both wow windows in window mode.
Full sized windowmode works too.

When ever you want to pause the script either click...
"Suspend Auto hot keys"
OR
"Pause Script"

By clicking the Auto hot key icon in the bottom right taskbar

WinGet, wowid, List, World of Warcraft 

~1:: 
KeyWait 1
IfWinActive, World of Warcraft 
{ 
ControlSend,, 1, ahk_id %wowid1% 
ControlSend,, 1, ahk_id %wowid2% 
ControlSend,, 1, ahk_id %wowid3%
ControlSend,, 1, ahk_id %wowid4%
ControlSend,, 1, ahk_id %wowid5% 
Return 
}

WinGet, wowid, List, World of Warcraft 

~2:: 
KeyWait 2 
IfWinActive, World of Warcraft 
{ 
ControlSend,, 2, ahk_id %wowid1% 
ControlSend,, 2, ahk_id %wowid2% 
ControlSend,, 2, ahk_id %wowid3%
ControlSend,, 2, ahk_id %wowid4%
ControlSend,, 2, ahk_id %wowid5%
Return 
}

WinGet, wowid, List, World of Warcraft 

~3:: 
KeyWait 3 
IfWinActive, World of Warcraft 
{ 
ControlSend,, 3, ahk_id %wowid1% 
ControlSend,, 3, ahk_id %wowid2% 
ControlSend,, 3, ahk_id %wowid3% 
ControlSend,, 3, ahk_id %wowid4% 
ControlSend,, 3, ahk_id %wowid5% 
Return 
}

WinGet, wowid, List, World of Warcraft 

~4:: 
KeyWait 4 
IfWinActive, World of Warcraft 
{ 
ControlSend,, 4, ahk_id %wowid1% 
ControlSend,, 4, ahk_id %wowid2% 
ControlSend,, 4, ahk_id %wowid3%
ControlSend,, 4, ahk_id %wowid4%
ControlSend,, 4, ahk_id %wowid5% 
Return 
}

WinGet, wowid, List, World of Warcraft 

~5:: 
KeyWait 5 
IfWinActive, World of Warcraft 
{ 
ControlSend,, 5, ahk_id %wowid1% 
ControlSend,, 5, ahk_id %wowid2% 
ControlSend,, 5, ahk_id %wowid3% 
ControlSend,, 5, ahk_id %wowid4%
ControlSend,, 5, ahk_id %wowid5%
Return 
}

WinGet, wowid, List, World of Warcraft 

~6:: 
KeyWait 6 
IfWinActive, World of Warcraft 
{ 
ControlSend,, 6, ahk_id %wowid1% 
ControlSend,, 6, ahk_id %wowid2% 
ControlSend,, 6, ahk_id %wowid3%
ControlSend,, 6, ahk_id %wowid4%
ControlSend,, 6, ahk_id %wowid5%
Return 
}

WinGet, wowid, list, World of Warcraft 

7:: 
KeyWait, 7, D 
ControlSend,, {7}, ahk_id %wowid1% 
ControlSend,, {7}, ahk_id %wowid2% 
ControlSend,, {7}, ahk_id %wowid3% 
ControlSend,, {7}, ahk_id %wowid4%
ControlSend,, {7}, ahk_id %wowid5%
Return

WinGet, wowid, list, World of Warcraft 

8:: 
KeyWait, 8, D 
ControlSend,, {8}, ahk_id %wowid1% 
ControlSend,, {8}, ahk_id %wowid2% 
ControlSend,, {8}, ahk_id %wowid3%
ControlSend,, {8}, ahk_id %wowid4%
ControlSend,, {8}, ahk_id %wowid5% 
Return

WinGet, wowid, list, World of Warcraft 

9:: 
KeyWait, 9, D 
ControlSend,, {9}, ahk_id %wowid1% 
ControlSend,, {9}, ahk_id %wowid2% 
ControlSend,, {9}, ahk_id %wowid3% 
ControlSend,, {9}, ahk_id %wowid4%
ControlSend,, {9}, ahk_id %wowid5%
Return

WinGet, wowid, list, World of Warcraft 

0:: 
KeyWait, 0, D 
ControlSend,, {0}, ahk_id %wowid1% 
ControlSend,, {0}, ahk_id %wowid2% 
ControlSend,, {0}, ahk_id %wowid3% 
ControlSend,, {0}, ahk_id %wowid4%
ControlSend,, {0}, ahk_id %wowid5%
Return

WinGet, wowid, List, World of Warcraft 

~=:: 
KeyWait = 
IfWinActive, World of Warcraft 
{ 
ControlSend,, =, ahk_id %wowid1% 
ControlSend,, =, ahk_id %wowid2%
ControlSend,, =, ahk_id %wowid3%
ControlSend,, =, ahk_id %wowid4%
ControlSend,, =, ahk_id %wowid5%
Return 
}

WinGet, wowid, list, World of Warcraft 

-:: 
KeyWait, -, D 
ControlSend,, {-}, ahk_id %wowid1% 
ControlSend,, {-}, ahk_id %wowid2% 
ControlSend,, {-}, ahk_id %wowid3%
ControlSend,, {-}, ahk_id %wowid4%
ControlSend,, {-}, ahk_id %wowid5% 
Return

WinGet, wowid, list, World of Warcraft 

Space:: 
KeyWait, Space, D 
ControlSend,, {Space}, ahk_id %wowid1% 
ControlSend,, {Space}, ahk_id %wowid2% 
ControlSend,, {Space}, ahk_id %wowid3% 
ControlSend,, {Space}, ahk_id %wowid4%
ControlSend,, {Space}, ahk_id %wowid5%
Return

WinGet, wowid, list, World of Warcraft 

x:: 
KeyWait, x, D 
ControlSend,, {x}, ahk_id %wowid1% 
ControlSend,, {x}, ahk_id %wowid2% 
ControlSend,, {x}, ahk_id %wowid3% 
ControlSend,, {x}, ahk_id %wowid4%
ControlSend,, {x}, ahk_id %wowid5%
Return

WinGet, wowid, list, World of Warcraft 

Tab:: 
KeyWait, Tab, D 
ControlSend,, {Tab}, ahk_id %wowid1% 
ControlSend,, {Tab}, ahk_id %wowid2% 
ControlSend,, {Tab}, ahk_id %wowid3%
ControlSend,, {Tab}, ahk_id %wowid4%
ControlSend,, {Tab}, ahk_id %wowid5% 
Return

WinGet, wowid, list, World of Warcraft 

Shift:: 
KeyWait, Shift, D 
ControlSend,, {Shift}, ahk_id %wowid1% 
ControlSend,, {Shift}, ahk_id %wowid2% 
ControlSend,, {Shift}, ahk_id %wowid3% 
ControlSend,, {Shift}, ahk_id %wowid4%
ControlSend,, {Shift}, ahk_id %wowid5%
Return

WinGet, wowid, list, World of Warcraft 

NumPad1:: 
KeyWait, NumPad1, D 
ControlSend,, {NumPad1}, ahk_id %wowid1% 
ControlSend,, {NumPad1}, ahk_id %wowid2% 
ControlSend,, {NumPad1}, ahk_id %wowid3% 
ControlSend,, {NumPad1}, ahk_id %wowid4%
ControlSend,, {NumPad1}, ahk_id %wowid5%
Return

WinGet, wowid, list, World of Warcraft 

NumPad2:: 
KeyWait, NumPad2, D 
ControlSend,, {NumPad2}, ahk_id %wowid1% 
ControlSend,, {NumPad2}, ahk_id %wowid2% 
ControlSend,, {NumPad2}, ahk_id %wowid3% 
ControlSend,, {NumPad2}, ahk_id %wowid4%
ControlSend,, {NumPad2}, ahk_id %wowid5%
Return

WinGet, wowid, list, World of Warcraft 

NumPad3:: 
KeyWait, NumPad3, D 
ControlSend,, {NumPad3}, ahk_id %wowid1% 
ControlSend,, {NumPad3}, ahk_id %wowid2% 
ControlSend,, {NumPad3}, ahk_id %wowid3% 
ControlSend,, {NumPad3}, ahk_id %wowid4%
ControlSend,, {NumPad3}, ahk_id %wowid5%
Return

WinGet, wowid, list, World of Warcraft 

NumPad4:: 
KeyWait, NumPad4, D 
ControlSend,, {NumPad4}, ahk_id %wowid1% 
ControlSend,, {NumPad4}, ahk_id %wowid2% 
ControlSend,, {NumPad4}, ahk_id %wowid3% 
ControlSend,, {NumPad4}, ahk_id %wowid4%
ControlSend,, {NumPad4}, ahk_id %wowid5%
Return

WinGet, wowid, list, World of Warcraft 

NumPad5:: 
KeyWait, NumPad5, D 
ControlSend,, {NumPad5}, ahk_id %wowid1% 
ControlSend,, {NumPad5}, ahk_id %wowid2% 
ControlSend,, {NumPad5}, ahk_id %wowid3% 
ControlSend,, {NumPad5}, ahk_id %wowid4%
ControlSend,, {NumPad5}, ahk_id %wowid5%
Return

WinGet, wowid, list, World of Warcraft 

NumPad6:: 
KeyWait, NumPad6, D 
ControlSend,, {NumPad6}, ahk_id %wowid1% 
ControlSend,, {NumPad6}, ahk_id %wowid2% 
ControlSend,, {NumPad6}, ahk_id %wowid3% 
ControlSend,, {NumPad6}, ahk_id %wowid4%
ControlSend,, {NumPad6}, ahk_id %wowid5%
Return

WinGet, wowid, list, World of Warcraft 

NumPad7:: 
KeyWait, NumPad7, D 
ControlSend,, {NumPad7}, ahk_id %wowid1% 
ControlSend,, {NumPad7}, ahk_id %wowid2% 
ControlSend,, {NumPad7}, ahk_id %wowid3% 
ControlSend,, {NumPad7}, ahk_id %wowid4%
ControlSend,, {NumPad7}, ahk_id %wowid5%
Return

WinGet, wowid, list, World of Warcraft 

NumPad8:: 
KeyWait, NumPad8, D 
ControlSend,, {NumPad8}, ahk_id %wowid1% 
ControlSend,, {NumPad8}, ahk_id %wowid2% 
ControlSend,, {NumPad8}, ahk_id %wowid3% 
ControlSend,, {NumPad8}, ahk_id %wowid4%
ControlSend,, {NumPad8}, ahk_id %wowid5%
Return

WinGet, wowid, list, World of Warcraft 

NumPad9:: 
KeyWait, NumPad9, D 
ControlSend,, {NumPad9}, ahk_id %wowid1% 
ControlSend,, {NumPad9}, ahk_id %wowid2% 
ControlSend,, {NumPad9}, ahk_id %wowid3% 
ControlSend,, {NumPad9}, ahk_id %wowid4%
ControlSend,, {NumPad9}, ahk_id %wowid5%
Return

WinGet, wowid, list, World of Warcraft 

y:: 
KeyWait, LButton, D 
ControlSend,, {y}, ahk_id %wowid1% 
ControlSend,, {y}, ahk_id %wowid2% 
ControlSend,, {y}, ahk_id %wowid3% 
ControlSend,, {y}, ahk_id %wowid4%
ControlSend,, {y}, ahk_id %wowid5%
Return

~h::
KeyWait, h, D
#IfWinActive, World of Warcraft
{
ControlSend,, h, ahk_id %wowid1%
ControlSend,, h, ahk_id %wowid2%
ControlSend,, h, ahk_id %wowid3%
ControlSend,, h, ahk_id %wowid4%
ControlSend,, h, ahk_id %wowid5%
}
Return



BASICS
STEP 1.
Follow,Assist
I do suggest to have your "#1 key" as a button for your "alt toon #2" to be a "Follow, Assist, Attack Target, Stopcasting" macro.

MACRO EXAMPLE:

/target focus Toon#1name
/follow Toon#1name
/assist Toon#1name
/stopcasting

Senario Example :Lets say you have 2 mages going...So if your in a battle or approaching a target from your #1 Main window screen you would want to click #1keyboard button for your "ALT#2" to Assist, Attack Target.

NOTE: MOST OF THE TIME YOUR ALT CHARS WILL BE FOLLOWING YOU,
there is ways to setup a script that allows your w,a,s,d to work on all wow windows but trust me its a pain to controll movement and your better off with a follow/assist macro. :D
-----------------------------
Step 2
Time to.....Attack!! ATTACK!!!

I do suggest to have your "#2 key" as a Fireball button for your Main & alt toon #2. This means you will need to setup fireball on both characters #2 button on your action bar.

In game example : Find target...Press button #1, 2nd character will either follow, assist you / attack target. Press button #2 and both of your characters will shoot a fireball at your enemy.

----------------------------
Other needs to know "things"

X button will make them all sit....

Space bar will let them all jump....

Dont laugh some people love to know this... ;)

practically your wanting to have all the characters you want to duel-box to have the same spells in the same order. The rest is just simple pressing keyboard buttons.
-----------------------------
"P.S DUEL BOXING IS NOT CHEATING as long as your playing the characters you are being legit. Its 3rd PARTY programs are considered cheating." link example of a gm convo stating its not ...

http://www.dual-boxi...opic.php?t=1049
-----------------------------
A few duel boxing Video Favs of my own
BASIC LOOK :
BASIC LOOK2 :
ARENA 5SHAM: http://youtube.com/watch?v=g5brtLZbXYE
-----------------------------
Well good luck with it if you have any questions email me at
J.silva191@hotmail.com

#2 WOW wannabe

WOW wannabe
  • Guests

Posted 08 December 2007 - 12:54 AM

I dont play wow

But that is freaking awesome you made for the game total ownage according too the video from youtube.

how much clients can be opened originaly for wow.

goodluck

#3 necrosaro

necrosaro
  • Guests

Posted 07 February 2008 - 12:59 AM

hello, i see that there is already script in place for holding down shift and for holding down numbers, but when you press shift + a number then the macro does not work, would a macro have to be made specifically for each shift+# combo for example:

shift + 1
shift + 2
etc.

do you think that
~shift + 1::
KeyWait Shift
KeyWait 1
IfWinActive, World of Warcraft
{
ControlSend,, {shift} and {1}, ahk_id %wowid1%
ControlSend,, {shift} and {1}, ahk_id %wowid2%
Return
}

WinGet, wowid, List, World of Warcraft


would work? or would something else have to be done. Thanks

#4 gloron

gloron
  • Guests

Posted 21 February 2008 - 01:22 PM

Hi, i'm trying to dualbox 2 wow accounts with this script but i have a problem. Not all keys work for me, only a few do. When i press spacebar both my characters jump. But when i press "1" or any other numeric button, only 1 character performs the action.

#5 needhelp

needhelp
  • Guests

Posted 17 April 2008 - 11:05 PM

can u give me the script for w,s,a,d if u no it?

#6 jeffe

jeffe
  • Guests

Posted 25 July 2008 - 07:04 PM

icantusemYspacebarnowandicantusetheletterYunlessipressshiftfirsttisprogramscrewedupmYcomputer.

#7 necrophiliak

necrophiliak
  • Guests

Posted 25 July 2008 - 08:46 PM

Why dont you try suspending the script when you want to type....

#8 jeffe

jeffe
  • Guests

Posted 25 July 2008 - 08:49 PM

lol i didnt try tht ty ill try now

#9 vipers

vipers
  • Members
  • 16 posts

Posted 01 August 2008 - 01:35 PM

You only need to have this "WinGet, wowid, List, World of Warcraft " once in the script, on top of the script.

#10 Mith

Mith
  • Guests

Posted 06 September 2008 - 02:41 PM

lovely guide .. thank you.
Much better script than the other one i've tried.

#11 Guests

  • Guests

Posted 21 September 2008 - 10:55 PM

ok..this program doesn't work very well but i tried another version and worked. my issue is now..if i quest with 2 chars..is there any possibility for the second char to loot quest items?

#12 Guest123

Guest123
  • Guests

Posted 22 September 2008 - 03:27 AM

i downloaded it and i opened the notepa bit and i clicked reload script but nothing happened

is it supposed to do that or is my comp stuffed?

#13 aztects

aztects
  • Guests

Posted 22 September 2008 - 08:01 AM

Please someone help me only the 1 and 2 buttons work the rest dont do anything please help me! :cry:

#14 Guests

  • Guests

Posted 27 September 2008 - 08:10 PM

ok..this program doesn't work very well but i tried another version and worked. my issue is now..if i quest with 2 chars..is there any possibility for the second char to loot quest items?


Looting is the only issue I'm struggling with as well.

#15 bofat

bofat
  • Guests

Posted 27 September 2008 - 08:43 PM

icantusemYspacebarnowandicantusetheletterYunlessipressshiftfirsttisprogramscrewedupmYcomputer.


rotflmao