PDA

View Full Version : Is this "legal" with AHK



Sabes
02-05-2008, 04:08 AM
Dual Boxing on 1 PC with a 24" wide screen, using maximizer to place the two instances at the top and bottom of the screen and wondering if this kinda script/hotkey in AHK is cool to use with WoW. Hitting LAlt & Q moves mouse to my top window(clone) and brings it to the foreground. LShift & Q brings mouse back to bottom window(main) and brings it to the foreground. Also (in game)each key bind is set to a macro that switches up action bars and sets main to focus and follow clone, and visa verse. The Lalt & q / LShift & q can be any combo of keys. Ive gotten it to work at the login window. I have not yet logged in and used this yet, but have used the macros that switches follow ect. and they work just fine. This would save a few seconds and not require clicking on your clone to bring it forward. But seems like it could be trouble.


#IfWinActive, World of Warcraft
~LAlt & Q::
WinActivate,ahk_id %idClone%
MouseMove, X,Y
return

#IfWinActive, World of Warcraft
~LShift & Q::
WinActivate,ahk_id %idMain%
MouseMove, X,Y
return

Also was looking at specifying or making conditions that work to see if ahk_id %wowid1% is in foregound then switch to ahk_id %wowid2%, ahk_id %wowid3% ect.. and change position of mouse to that window(for the people that are boxing more then 2 on one PC) hope that made sense. Thanks in advance for any input. :D

Lost Ninja
02-05-2008, 07:14 AM
Depends on which variant of windows you're using but for XP you can enable an x-Mouse type of behavior through a MS (official) addon called TweakUI. What this changes is that when your cursor moves over a window that window immediately comes to foreground (you can change the speed too, I use it with a 250ms delay) so that you only need to move the cursor over the screen. That all said I don't see how this would be an isse as I think its technically possible (the bar changing anyway) with the built in macros. It might be a two button press though not sure.

elo
02-05-2008, 07:52 AM
My understanding is that if you're not causing a scenario where your toons can act autonomously then it's legal. This generally rules out timers (cast wait 2 sec, cast wait 2 sec, cast) and anything reactive (health bar drops, healer casts heal on them) so yeah you should be fine.

I'm with the Lost Ninja though, I think you'd probably be happier with the tweak ui thing. My fingers were about to fall off with my 5 box until I started using this. With a dual setup I'd suggest putting the bars for the upper screen on the bottom and the bars for the lower screen at the top. That way if you can minimize travel. Also don't forget to check the option in the Interfaces section that puts the loot box under your cursor. I don't know if it's always been there but it's frustrated me for years and I just figured it out a few weeks ago.

Sabes
02-05-2008, 11:54 AM
Depends on which variant of windows you're using but for XP you canenable an x-Mouse type of behavior through a MS (official) addon called TweakUI.
Running XP, downloaded and love. Great software :thumbup:
It might be a two button press though not sure. Yes, turns out that AHK will block whatever was used for the scrip(i.e. in game shift-q would not respond) At least thats what it seemed like. Had to have separate keys making 4 sets altogether for macros and switching. And Thank you Lost Ninja for recommending tweakui, best thing since sliced bread!!


With a dual setup I'd suggest putting the bars for the upper screen onthe bottom and the bars for the lower screen at the top. That way if you can minimize travel. You read my mind. Atm I'm not even using add-ons :whistling: But had thought about doing that with the bars, now I am definitely going to set it up like that. With tweak things are going to run super smooth.


Also don't forget to check the option in the Interfaces section that puts the loot box under your cursor. I don't know if it's always been there but it's frustrated me for years and I just figured it out a few weeks ago. Hehehe I just discovered it as well then other day. Was very happy camper.


Thank you both, Lost Ninja and elo, for the very helpful info. So happy with tweak :thumbsup: