Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

World of Warcraft Scripts


  • Please log in to reply
100 replies to this topic
Horde for life
  • Guests
  • Last active:
  • Joined: --
I saw a few posts for BF2 but the WoW scripts are scattered, when I started I was tested to find WoW scripts so I would like to start a thread for the WoW players. With the great macros WoW has you dont really need AHK unless your 2boxing or cheating, I dont cheat the game but I do like to play 2 or 3 characters at one time on one PC. I am still a beginner but these seem to work flawlessly hours on end but open for suggestions.





WinGet, wowid, list, World of Warcraft
;2locks

1::
KeyWait, 1, D
   ControlSend,, 1 , ahk_id %wowid1%
   ControlSend,, h , ahk_id %wowid2%  ; assist macro /target Party1    /assist
Sleep, 500
   ControlSend,, 1 , ahk_id %wowid2%

Return

2::
KeyWait, 2, D
   ControlSend,, 2 , ahk_id %wowid1%
   ControlSend,, 2 , ahk_id %wowid2%

Return

3::
KeyWait, 3, D
   ControlSend,, 3 , ahk_id %wowid1%
   ControlSend,, 3 , ahk_id %wowid2%

Return

4::
KeyWait, 4, D
   ControlSend,, 4 , ahk_id %wowid1%
   ControlSend,, 4 , ahk_id %wowid2%

Return

5::
KeyWait, 5, D
   ControlSend,, 5 , ahk_id %wowid1%
   ControlSend,, 5 , ahk_id %wowid2%

Return


6::
KeyWait, 6, D
   ControlSend,, 6 , ahk_id %wowid1%
   ControlSend,, 6 , ahk_id %wowid2%

Return

7::
KeyWait, 7, D
   ControlSend,, 7 , ahk_id %wowid1%
   ControlSend,, 7 , ahk_id %wowid2%

Return

9::
KeyWait, 9, D
   ControlSend,, 9 , ahk_id %wowid1%
   ControlSend,, 9 , ahk_id %wowid2%

Return


0::
KeyWait, 0, D
   ControlSend,, 0 , ahk_id %wowid1%
   ControlSend,, 0 , ahk_id %wowid2%

Return

e::
KeyWait, e, D ; follow
   ControlSend,, - , ahk_id %wowid2% ; Keybinding a macro to a button with macro /follow Party1

Return

Numpad8::
KeyWait, Numpad8, D ; stop
   ControlSend,, s , ahk_id %wowid2%

Return

Numpad0::  ; jump
KeyWait, Numpad0, D
   ControlSend,, = , ahk_id %wowid2% ; keybindings set = to jump

Return







With a healer I use the Numpad a lot, I use Bartender3 with 9 buttons and make it 3x3 to look like numpad, I had trouble getting WoW to accept {Space} or {TAB} so I just changed the keybindings to keys I dont normally use in combat on 2% and 3%, it can make chatting quite challenging though =D
I have 3 accounts and 2 instances of WoW installed and and use the second WoW for 2 and 3 believe it or not is works well with a underpowered PC set at low video settings and no sound on 2 and 3. Just stage your flights to a major city or it might crash.




WinGet, wowid, list, World of Warcraft
; 1= warrior 2= warlock 3=Druid
; This is set up so when warrior charges 2 and 3 stop, aggro gain
;assist with damage and heals through keybindings and macros

1::
KeyWait, 1, D
   ControlSend,, 1 , ahk_id %wowid1%
   ControlSend,, s , ahk_id %wowid2%
   ControlSend,, s , ahk_id %wowid3%
Return



3::
KeyWait, 3, D

   ControlSend,, 3 , ahk_id %wowid1%
   ControlSend,, h , ahk_id %wowid2%
   ControlSend,, g , ahk_id %wowid3%
   ControlSend,, 7 , ahk_id %wowid3%
Sleep, 500
   ControlSend,, 1 , ahk_id %wowid2%
Sleep, 2000
   ControlSend,, 8 , ahk_id %wowid3%
   ControlSend,, 2 , ahk_id %wowid2%
Sleep, 2000

   ControlSend,, 3 , ahk_id %wowid2%

Return

e::
KeyWait, e, D  ;follow
   ControlSend,, - , ahk_id %wowid2%
   ControlSend,, - , ahk_id %wowid3%
Return


;Numpads are used for druid buffs and heals using macros and keybindings


Numpad1::
KeyWait, Numpad1, D
   ControlSend,, u , ahk_id %wowid3%
Return

Numpad2::
KeyWait, Numpad2, D
   ControlSend,, j , ahk_id %wowid3%
Return

Numpad3::
KeyWait, Numpad3, D
   ControlSend,, o , ahk_id %wowid3%
Return


Numpad4::
KeyWait, Numpad4, D
   ControlSend,, g , ahk_id %wowid3%
Return

Numpad5::
KeyWait, Numpad5, D
   ControlSend,, i , ahk_id %wowid3%
Return

Numpad6::
KeyWait, Numpad6, D
   ControlSend,, y , ahk_id %wowid3%
Return

Numpad7::
KeyWait, Numpad7, D ; follow

   ControlSend,, - , ahk_id %wowid2%
   ControlSend,, - , ahk_id %wowid3%
Return

Numpad8::
KeyWait, Numpad8, D ; stop

   ControlSend,, s , ahk_id %wowid2%

   ControlSend,, s , ahk_id %wowid3%
Return

Numpad0::  ; jump
KeyWait, Numpad0, D

   ControlSend,, = , ahk_id %wowid2%
   ControlSend,, = , ahk_id %wowid3%
Return



I have 3 accounts and 2 instances of WoW installed and and use the second WoW for 2 and 3 believe it or not is works well with a underpowered PC set at low video settings and no sound on 2 and 3. Just stage your flights to a major city or it might crash.

Please add your WoW scripts so we may all learn from your efforts and suggestions are very welcome.

Helpy
  • Guests
  • Last active:
  • Joined: --
It is a good idea to concentrate scripts in one place, BF2 example shown it is successful and it is less annoying for non gamers like me... :-)

I saw two topics of interest in General Chat section: World of Warcraft: AHK = cheating? ;-) and perhaps World of Warcraft: tips and tricks (didn't looked at this one...)

majkinetor
  • Moderators
  • 4512 posts
  • Last active: Oct 02 2013 02:33 PM
  • Joined: 24 May 2006
As long as there is no separate forum, game applications are the same as scripts for winamp or anything else.

majkinetor
  • Moderators
  • 4512 posts
  • Last active: Oct 02 2013 02:33 PM
  • Joined: 24 May 2006
This is the script I use. Just copy the script in the WoW folder and change the shortcut on desktop to match the script. Script will start the game.

[*:1ua8g95s] Script skips the launcher.
[*:1ua8g95s] ALT P password, ALT O username
[*:1ua8g95s] In the game, middle click sets moving mode1 (the same as if you hold both mouse buttons all the time while moving). U control walking with the mouse moves. Useful to rest your fingers from holding mouse buttons and for more precise moving
[*:1ua8g95s] TAB sets moving mode 2 - mouse move controls the camera, you drive the char with arrow keys. Extremely useful when you are chased by enemy - you can run and still look 360* around. Notice that you must change default NUMLOCK to TAB.
[*:1ua8g95s] ALT E exits the script and let you use WoW sucky interface
[*:1ua8g95s] ALT R reloads the script (just for case)
[*:1ua8g95s] Win key is blocked so you don't accidently enter the OS.

[*:1ua8g95s] Script also shutdown's some programs and reactivate them after WoW exits. I use this to desable DesktopX, OBjectBar, WindowBlinds, TaskInfo, NOD32 etc... but I removed this part.
#SingleInstance force
	
	Run Launcher.exe
	WinWait World of Warcraft
	ControlClick, Button3
	Sleep 15000			;let the wow load

	WoW_Init()
	SetTimer, onTimer, 5000
return

OnTimer:
	If NOT (WinExist("ahk_class GxWindowClassD3d") or WinExist("World of Warcraft"))
	{
		ExitApp
	}
return

WoW_Init()
{
	Menu, Tray, Icon, Wow.exe
}


#IfWinExist ahk_class GxWindowClassD3d
TAB::
	if (WoW_middle)
	{
		WoW_middle := false
		Click up, right
	}

	Send {TAB}

	WoW_tab := !WoW_tab
	if (WoW_tab)
		Click down
	else
		Click up
return

MButton::
	if (WoW_tab)
	{
		WoW_tab := false
		Send {TAB}
	}
	
	WoW_middle := !WoW_middle
	if (WoW_middle)
		WoW_btnState = down
	else
		WoW_btnState = up

	Click %WoW_btnState%, left
	Click %WoW_btnState%, right
return

~LButton:: 
	if (WoW_middle)
	{
		WoW_middle := false
		Click up, right
	}
return

~RButton:: 
	if (WoW_middle)
	{
		WoW_middle := false
		Click up, left
	}
return


!o:: Send username{Tab}
!p:: Send pass{ENTER}
!e:: ExitApp
!r:: Reload
Lwin::return
`::return


#IfWinActive


Misha
  • Guests
  • Last active:
  • Joined: --
Thx for the post.

I got this to work.


Space::  ; jump
KeyWait, Space, D
   ControlSend,, {Space} , ahk_id %wowid1%
   ControlSend,, {Space} , ahk_id %wowid2%
Return


I cant get this to work, it seems the game see's the {Rbutton} as individual letters and not as a right mouse click, is this a anticheat built into WoW?


f::
KeyWait, f, D

   ControlSend,, {RButton} , ahk_id %wowid1%

Return


Having the same problem with LCtrl+ scripts.

I read the documentation but I could not figure out what I am doing wrong.
I don't really understand programming :roll:

Horde for life
  • Guests
  • Last active:
  • Joined: --
Thank you for the scripts Majkinetor, I have used some of them.

I found the SmartGUI program by Rajat and think its awsome but I cant figure out how to build scripts with it, yes I have spent 2 hours reading searching and experimenting but I am fairly stupid when it comes to programming and cant see how to link simple hotkeys to buttons on gui.

The script I use is much longer but if I can get help on linking buttons for this example can build the rest.
WinGet, wowid, list, World of Warcraft

; Warrior and Healer


Gui, Add, Text, x46 y27 w90 h20 +Center, Warrior
Gui, Add, Button, x156 y27 w90 h20 , Heal  
Gui, Add, Button, x156 y57 w90 h20 , Heal
Gui, Add, Text, x46 y57 w90 h20 +Center, Healer
; Generated using SmartGUI Creator 4.0
Gui, Show, x473 y278 h104 w276, New GUI Window
Return
GuiClose: 
ExitApp


Numpad4::       ; Healer tagets Warrior
KeyWait, Numpad4, D
   ControlSend,, g , ahk_id %wowid2%
Return

Numpad5::    ; Healer targets Healer
KeyWait, Numpad5, D
   ControlSend,, i , ahk_id %wowid2%
Return

Numpad6::    ; Cast heal
KeyWait, Numpad6, D
   ControlSend,, y , ahk_id %wowid2%
Return


I know it has to be simple I just cant get my mind around it. Thank you in advance.

Horde for life
  • Guests
  • Last active:
  • Joined: --
This should start me off on the basics, I just could not figure out how to assign each button its own "tag" so to speak.

WinGet, wowid, list, World of Warcraft

; Warrior Leading Healer


Gui, Add, Text, x46 y27 w90 h20 +Center, Warrior
Gui, Add, Button, x156 y27 w90 h20 gH1button, Heal 
Gui, Add, Button, x156 y57 w90 h20 gH2button, Heal
Gui, Add, Text, x46 y57 w90 h20 +Center, Healer
; Generated using SmartGUI Creator 4.0
Gui, Show, x473 y278 h104 w276, New GUI Window
Return
GuiClose:
ExitApp

H1Button:
MsgBox, I think I got it :)
return

H2Button:
MsgBox, Yep I got it :)
return

Numpad4::       ; Healer tagets Warrior
KeyWait, Numpad4, D
   ControlSend,, g , ahk_id %wowid2%
Return

Numpad5::    ; Healer targets Healer
KeyWait, Numpad5, D
   ControlSend,, i , ahk_id %wowid2%
Return

Numpad6::    ; Cast heal
KeyWait, Numpad6, D
   ControlSend,, y , ahk_id %wowid2%
Return



majkinetor
  • Moderators
  • 4512 posts
  • Last active: Oct 02 2013 02:33 PM
  • Joined: 24 May 2006
Smart gui is only for GUI building. You cant script in it. Better open editor and try first examples on the site.

Gui, Add, Button, x156 y27 w90 h20 [color=red]gOnButtonClick[/color], Heal 

...
OnButtonClick:
    Msgbox hello. I am button.
return


Horde for life
  • Guests
  • Last active:
  • Joined: --
For 2boxers this is awsome, it compiles several button pushes with 1 button, basically target, press one and the target is dead (within reason).
My screen res is 1280x1024 I set WoW 1 at 1152x864 and WoW 2 at 800x600. This puts the pop box in lower left corner out of the way.

Every Popbox push takes you back to WoW 1 check it out.

;Warlock leading a Druid

WinGet, wowid, list, World of Warcraft


Gui, Add, Text, x2 y4 w35 h20 +Center, Voidy
Gui, Add, Text, x2 y30 w35 h20 +Center, Warlock
Gui, Add, Text, x2 y58 w38 h20 +Center, Druid
Gui, Add, Button, x43 y2 w40 h20 gH1Button, Heal
Gui, Add, Button, x43 y29 w40 h20 gH2Button, Heal
Gui, Add, Button, x43 y56 w40 h20 gH3Button, Heal
Gui, Add, Button, x88 y2 w40 h20 gR1Button, Rejuv
Gui, Add, Button, x88 y29 w40 h20 gR2Button, Rejuv
Gui, Add, Button, x88 y56 w40 h20 gR3Button, Rejuv
Gui, Add, Button, x133 y2 w40 h20 gD1Button, Dispel
Gui, Add, Button, x133 y29 w40 h20 gD2Button, Dispel
Gui, Add, Button, x133 y56 w40 h20 gD3Button, Dispel
Gui, Add, Button, x178 y2 w40 h20 gB1Button, Buff
Gui, Add, Button, x178 y29 w40 h20 gS1Button, Susp
Gui, Add, Button, x178 y56 w40 h20 gR4Button, Relod
Gui, Add, Button, x224 y2 w40 h20 gT1Button, Thorn
; Generated using SmartGUI Creator 4.0
Gui, Show, x6 y900 h82 w268, Ramiro Leading Dipstick
Return
GuiClose:
ExitApp
1::
KeyWait, 1, D ; 
   ControlSend,, i , ahk_id %wowid1% ;pet attack
Sleep, 1200
   ControlSend,, 1 , ahk_id %wowid1% ; corruption
   ControlSend,, i , ahk_id %wowid2% ; target pet
   ControlSend,, 8 , ahk_id %wowid2% ; rejuv pet

Sleep, 2600
   ControlSend,, 2 , ahk_id %wowid1% ; agony
   ControlSend,, h , ahk_id %wowid2% ; assist pet
   ControlSend,, 4 , ahk_id %wowid2% ; fiarie fire
Sleep, 1800
   ControlSend,, 3 , ahk_id %wowid1% ; immolation
   ControlSend,, 0 , ahk_id %wowid2% ; insect swarm
Sleep, 2600
   ControlSend,, 4 , ahk_id %wowid1% ;  wand

Return


Return


e::  ; follow
KeyWait, e, D
   ControlSend,, - , ahk_id %wowid2%

Return

9:: ; drink
KeyWait, 9, D
   ControlSend,, 9 , ahk_id %wowid1%
   ControlSend,, 9 , ahk_id %wowid2%

Return


Numpad1:: ;MoW
KeyWait, Numpad1, D
   ControlSend,, u , ahk_id %wowid2%

Return



Numpad3:: ; macro rejuv, heal
KeyWait, Numpad3, D
   ControlSend,, o , ahk_id %wowid2%
Sleep, 1800
   ControlSend,, o , ahk_id %wowid2%
Return


Numpad4:: ; taget lock
KeyWait, Numpad4, D
   ControlSend,, g , ahk_id %wowid2%
Return

Numpad5:: ;target pet
KeyWait, Numpad5, D
   ControlSend,, i , ahk_id %wowid2%
Return

Numpad6:: ;target druid
KeyWait, Numpad6, D
   ControlSend,, y , ahk_id %wowid2%
Return



Numpad7:: 
KeyWait, Numpad7, D ; follow

   ControlSend,, - , ahk_id %wowid2%
Return

Numpad8::
KeyWait, Numpad8, D ; stop

   ControlSend,, s , ahk_id %wowid2%

Return

Numpad0::  ; jump
KeyWait, Numpad0, D

   ControlSend,, = , ahk_id %wowid2%
Return









H1Button:
WinActivate,  ahk_id %wowid1% ;makes  WoW 1 on top
   ControlSend,, i , ahk_id %wowid2%
   ControlSend,, o , ahk_id %wowid2%
Sleep, 1800
   ControlSend,, o , ahk_id %wowid2%
Return

H2Button:
WinActivate,  ahk_id %wowid1%
   ControlSend,, g , ahk_id %wowid2%
   ControlSend,, o , ahk_id %wowid2%
Sleep, 1800
   ControlSend,, o , ahk_id %wowid2%
Return

H3Button:
WinActivate,  ahk_id %wowid1%
   ControlSend,, y , ahk_id %wowid2%
   ControlSend,, o , ahk_id %wowid2%
Sleep, 1800
   ControlSend,, o , ahk_id %wowid2%
Return


R1Button:
WinActivate,  ahk_id %wowid1%
   ControlSend,, i , ahk_id %wowid2%
   ControlSend,, 8 , ahk_id %wowid2%
Return

R2Button:
WinActivate,  ahk_id %wowid1%
   ControlSend,, g , ahk_id %wowid2%
   ControlSend,, 8 , ahk_id %wowid2%
Return

R3Button:
WinActivate,  ahk_id %wowid1%
   ControlSend,, y , ahk_id %wowid2%
   ControlSend,, 8 , ahk_id %wowid2%
Return

D1Button:
WinActivate,  ahk_id %wowid1%
   ControlSend,, i , ahk_id %wowid2%
   ControlSend,, j , ahk_id %wowid2%
Sleep, 1800
   ControlSend,, f , ahk_id %wowid2%

Return

D2Button:
WinActivate,  ahk_id %wowid1%
   ControlSend,, g , ahk_id %wowid2%
   ControlSend,, j , ahk_id %wowid2%
Sleep, 1800
   ControlSend,, f , ahk_id %wowid2%
Return

D3Button:
WinActivate,  ahk_id %wowid1%
   ControlSend,, y , ahk_id %wowid2%
   ControlSend,, j , ahk_id %wowid2%
Sleep, 1800
   ControlSend,, f , ahk_id %wowid2%
Return


T1Button:
WinActivate,  ahk_id %wowid1%
   ControlSend,, g , ahk_id %wowid2%
   ControlSend,, r , ahk_id %wowid2%
Sleep, 2000 

   ControlSend,, i , ahk_id %wowid2%
   ControlSend,, r , ahk_id %wowid2%
Sleep, 2000 

   ControlSend,, y , ahk_id %wowid2%
   ControlSend,, r , ahk_id %wowid2%
Return

B1Button:
WinActivate,  ahk_id %wowid1%
   ControlSend,, y , ahk_id %wowid1%
   ControlSend,, g , ahk_id %wowid2%
   ControlSend,, u , ahk_id %wowid2%
Sleep, 2000 

   ControlSend,, i , ahk_id %wowid2%
   ControlSend,, u , ahk_id %wowid2%
Sleep, 2000 

   ControlSend,, y , ahk_id %wowid2%
   ControlSend,, u , ahk_id %wowid2%

Return

S1Button:
Suspend

Return

R4Button:
Reload
Return




Horde for Life
  • Guests
  • Last active:
  • Joined: --
I have created empty macros and set mouse clicks in ranges to send events to the second WoW, 1 is a warrior and 2 is a priest. there is keybindings and macros to figure out but this is a solid template.


WinGet, wowid, list, World of Warcraft

;TANK Leading PRIEST NEW  



LButton::
;                          ROW 1
If MouseInRange(1174,1221,245,290)
   ControlSend,, 7 , ahk_id %wowid2%           ; FLASH

else if MouseInRange(1174,1221,298,341)
   ControlSend,, 8 , ahk_id %wowid2%           ; HEAL

else if MouseInRange(1174,1221,351,393)
ControlSend,, 6 , ahk_id %wowid2%              ; RENEW

else if MouseInRange(1174,1221,400,446)
ControlSend,, 5 , ahk_id %wowid2%              ; BUBBLE	

else if MouseInRange(1174,1221,456,498)
ControlSend,, j , ahk_id %wowid2%               ; DISPEL
else if MouseInRange(1174,1221,505,548){
   ControlSend,, g , ahk_id %wowid2%           ; HEALS
   ControlSend,, 6 , ahk_id %wowid2% 
Sleep, 1600
   ControlSend,, 7 , ahk_id %wowid2%
Sleep, 2500
   ControlSend,, 8 , ahk_id %wowid2%
Sleep, 3200
   ControlSend,, 8 , ahk_id %wowid2%
Sleep, 3200
   ControlSend,, 7 , ahk_id %wowid2%
Sleep, 2500
   ControlSend,, 8 , ahk_id %wowid2%
}



else if MouseInRange(1174,1221,703,751)
Suspend                                                        ; SUSPEND


else if MouseInRange(1174,1221,755,802)
ControlSend,, 9 , ahk_id %wowid2%               ; FEAR

else if MouseInRange(1174,1221,809,854)

                                                           ; 10 MIN BUFFS
{
   ControlSend,, y , ahk_id %wowid2%
   ControlSend,, f , ahk_id %wowid2%
Sleep, 2000
   ControlSend,, y , ahk_id %wowid2%
   ControlSend,, f , ahk_id %wowid2%
Sleep, 2000
   ControlSend,, g , ahk_id %wowid2%
   ControlSend,, f , ahk_id %wowid2%

}


;                              ROW 2
       If MouseInRange(1232,1278,246,291)
   ControlSend,, g , ahk_id %wowid2%          ; TANK


else if MouseInRange(1232,1278,349,392)
ControlSend,, y , ahk_id %wowid2%              ; PRIEST

else if MouseInRange(1232,1278,402,443)
ControlSend,, h , ahk_id %wowid2%              ; ASSIST	

else if MouseInRange(1232,1278,452,492)
ControlSend,, 1 , ahk_id %wowid2%               ; SWP

else if MouseInRange(1232,1278,500,548)
   ControlSend,, 3 , ahk_id %wowid2%           ; WAND

else if MouseInRange(1232,1278,555,595)
   ControlSend,, c , ahk_id %wowid2%           ; SHACKLE

else if MouseInRange(1232,1278,708,751)
Reload                                                           ; RELOAD


else if MouseInRange(1232,1278,761,803)
ControlSend,, 4 , ahk_id %wowid2%               ; FADE

else if MouseInRange(1226,1270,811,855)
{
                                                                       ;  BUFFS


   ControlSend,, y , ahk_id %wowid2%
   ControlSend,, u , ahk_id %wowid2%
Sleep, 2000
   ControlSend,, y , ahk_id %wowid2%
   ControlSend,, o , ahk_id %wowid2%
Sleep, 2000
   ControlSend,, g , ahk_id %wowid2%
   ControlSend,, u , ahk_id %wowid2%
Sleep, 2000
   ControlSend,, g , ahk_id %wowid2%
   ControlSend,, o , ahk_id %wowid2%
}


else if MouseInRange(1224,1268,606,648)
   ControlSend,, n , ahk_id %wowid2%           ; DRINK



else if MouseInRange(1174,1220,657,698)
WinActivate,  ahk_id %wowid2%                     ; 2 to front


else
    Click
Return

MouseInRange(minx,maxx,miny,maxy)
{
MouseGetPos, x, y
If (y >= miny) and (y <= maxy) and (x >= minx) and (x <= maxx)
  Return 1
Return 0
}



1::
KeyWait, 1, D ;

   ControlSend,, 1 , ahk_id %wowid1%
Sleep, 80
   ControlSend,, 1 , ahk_id %wowid1%
Sleep, 80
   ControlSend,, 1 , ahk_id %wowid1%
Sleep, 80
   ControlSend,, 1 , ahk_id %wowid1%
Sleep, 80
   ;ControlSend,, y , ahk_id %wowid2%
  ; ControlSend,, 5 , ahk_id %wowid2%
Sleep, 1600
  ControlSend,, 3 , ahk_id %wowid1%
   ControlSend,, s , ahk_id %wowid2%
Sleep, 1800
   ControlSend,, 3 , ahk_id %wowid1%
   ControlSend,, h , ahk_id %wowid2%
  ControlSend,, 4 , ahk_id %wowid2%
Sleep, 2600
   ControlSend,, 2 , ahk_id %wowid1%
   ControlSend,, g , ahk_id %wowid2%
   ControlSend,, 6 , ahk_id %wowid2%
Sleep, 2400
   ControlSend,, 4 , ahk_id %wowid1%
   ControlSend,, h , ahk_id %wowid2%
   ControlSend,, 2 , ahk_id %wowid2%
Return


F1::  ; mount
KeyWait, F1, D
   ControlSend,, r , ahk_id %wowid1%
   ControlSend,, 0 , ahk_id %wowid2%

Return

e::  
KeyWait, e, D

   ControlSend,, - , ahk_id %wowid2% ; follow 
Return

r::
KeyWait, r, D
  ControlSend,, s , ahk_id %wowid2% ; stop
Return



SPACE::  ; jump
KeyWait, SPACE, D
   ControlSend,, {SPACE} , ahk_id %wowid1%
   ControlSend,, {SPACE} , ahk_id %wowid2%
   ControlSend,, {SPACE} , ahk_id %wowid3%
Return




Horde for Life
  • Members
  • 1 posts
  • Last active: Jun 14 2007 08:17 PM
  • Joined: 14 Jun 2007
Ok, you can see that all the bars on the right are blank macros that have the x,y set with AHK to control WoW 2 priest, I hit the Buff button on Warrior screen and priest buffs self and warrior with out changing screens in this example. I use Bartender3 to set bars this way.


[img]
<!-- m -->http://www.geocities.com/bumperslogans/ ... 161113.jpg<!-- m -->
[/img]

Arthebus
  • Guests
  • Last active:
  • Joined: --
I am a total newb, just downloaded the program and tinkering a little with scripts at the moment. The sole reason for me to use AHK is because I want to bind circle strafe movement to two random buttons (which I've bound to F5 and F6) on my mouse.

Circle strafe is Q and D pressed down simultaneously, or E and A. So basically, I want to bind QD to F5, and I want them to be 'pushed down' for as long as F5 is pushed down.

So well, I've come up with this lovely nub script

*F5::Send {q down} {d down}
return
*F5 UP::Send {q up} {d up}
return

This is very funny, because my character starts to jump and move in all directions like crazy when I press F5. I must've missed something really important :D

Arthebus
  • Guests
  • Last active:
  • Joined: --
Eh, my apologies, I posted in the wrong section.

stankla
  • Guests
  • Last active:
  • Joined: --
hi horde 4 life, i like ur script but would like to configure it for my war/priest.

i understand how it works but how would I go about to find out my own x,y locations? for my buttons?

Sukarn
  • Members
  • 35 posts
  • Last active: Aug 16 2007 06:08 PM
  • Joined: 16 Jun 2007

i understand how it works but how would I go about to find out my own x,y locations? for my buttons?

Use WindowSpy (autohotkey).