The Holys
11-23-2007, 05:03 AM
I have everything set up on a nice 2box with one screen. and the only thing i have left to do is getting both toons to get quests/acceptthem/handthem in etc
Also i want to be able to loot without having to move to the other screen, if you know what i mean.
Can this be done with autohotkey?
like binding a key in keybindings too loot nearest or something, bcos if there is i cannot find it.
i have everything else working and they are currently lvl 12 shammys
Thanks for Help.
Djarid
11-23-2007, 05:24 AM
no you can't do it with AHK
you need mouse interaction for it unfortunately... there is supposed to be a mod for auto-looting but I haven't seen it.
The Holys
11-23-2007, 05:28 AM
im guessing keyclone does the mouse tooo?
Djarid
11-23-2007, 05:31 AM
no, there is nothing available to clone the mouse on one computer... you might be able to get AHK to do that and are welcome to test a script I wrote to do it (untested on wow but works well on paint)
[code:1]; This script will click in 2 windows
; could be useful for AOE targetting
; use CTRL and Right Click to select the 2nd window
; use CTRL+ALT and left or right click to click in the window
CTRL DOWN::
SplashTextOn, 325, , Working...
Sleep, 500
SplasHtextoff
return
^!LButton::
coordmode, mouse, relative
MouseGetPos, xpos, ypos, id, control
WinGetPos, winX, winY, winWidth, winHeight, ahk_id %id%
; SplashTextOn, 600, , X = %xpos% Y = %ypos% Width = %winWidth% Height = %winHeight%
; Sleep, 500
; SplasHtextoff
ControlClick, x%xpos% y%ypos%, ahk_id %id%,, LEFT, 1, NA
ratioX := winWidth / xpos
ratioY := winHeight / ypos
WinGetPos, winX, winY, winWidth, winHeight, ahk_id %target%
newX := winWidth / ratioX
newY := winHeight / ratioY
ControlClick, x%newX% y%newY%, ahk_id %target%,, LEFT, 1, NA
; SplashTextOn, 600, , ratioX = %ratioX% ratioY = %ratioY% newX= %newX% newY=%newY%
; Sleep, 2000
; SplasHtextoff
return
^!RButton::
coordmode, mouse, relative
MouseGetPos, xpos, ypos, id, control
ControlClick, x%xpos% y%ypos%, ahk_id %target%,, RIGHT, 1, NA
ControlClick, x%xpos% y%ypos%, ahk_id %id%,, RIGHT, 1, NA
return
^RButton::
MouseGetPos, xpos, ypos, target, control
SplashTextOn, 325, , Assigned target window %target%.
Sleep, 2000
SplasHtextoff
return
^!p::
Pause
return
^!r::
Reload
return
[/code:1]
Wilbur
11-23-2007, 06:32 AM
Read some of the AutoHotKey documentation, theres plenty about and it should explain what you're looking at quite well.
vBulletin® v4.2.2, Copyright ©2000-2025, Jelsoft Enterprises Ltd.