Oh, and for those who care, here are a few snippets of my code that hasn't been posted by someone else:
This code is actually only useful for the current team you are working on and will benefit from me figuring out what I was talking about in my previous post. The WindowRect locations are your unit frames and your HotKeys are choosing that player (f1 = player1). So, clicking on that unit frame then sends HotKey F4 which then moves that screen to my main and sets focus to him.
Code:
<If MouseIsOverWindowRect WoW1 486 855 42 42>
<DoHotKey HotKey F4>
<Else If MouseIsOverWindowRect WoW1 484 943 42 42>
<DoHotKey HotKey F5>
<Else If MouseIsOverWindowRect WoW1 1033 855 42 42>
<DoHotKey HotKey F2>
<Else If MouseIsOverWindowRect WoW1 1033 947 42 42>
<DoHotKey HotKey F3>
<Else If MouseIsOverWindowRect WoW2 486 855 42 42>
<DoHotKey HotKey F4>
<Else If MouseIsOverWindowRect WoW2 484 943 42 42>
<DoHotKey HotKey F1>
<Else If MouseIsOverWindowRect WoW2 1033 855 42 42>
<DoHotKey HotKey F5>
<Else If MouseIsOverWindowRect WoW2 1033 947 42 42>
<DoHotKey HotKey F3>
Code:
<Hotkey CTRL ALT Divide>
<Toggle>
<If MouseIsOverWindow WoW1>
<SendLabel w2>
<KeyDown Q>
<SendLabel w3>
<KeyDown Q>
<SendLabel w4>
<KeyDown E>
<SendLabel w5>
<KeyDown E>
<Else If MouseIsOverWindow WoW2>
<SendLabel w1>
<KeyDown Q>
<SendLabel w3>
<KeyDown Q>
<SendLabel w4>
<KeyDown E>
<SendLabel w5>
<KeyDown E>
<If MouseIsOverWindow WoW3>
<SendLabel w1>
<KeyDown Q>
<SendLabel w2>
<KeyDown Q>
<SendLabel w4>
<KeyDown E>
<SendLabel w5>
<KeyDown E>
<Else If MouseIsOverWindow WoW4>
<SendLabel w1>
<KeyDown Q>
<SendLabel w2>
<KeyDown Q>
<SendLabel w3>
<KeyDown E>
<SendLabel w5>
<KeyDown E>
<Else If MouseIsOverWindow WoW5>
<SendLabel w1>
<KeyDown Q>
<SendLabel w2>
<KeyDown Q>
<SendLabel w3>
<KeyDown E>
<SendLabel w4>
<KeyDown E>
<Toggle>
<If MouseIsOverWindow WoW1>
<SendLabel w3>
<KeyDown Q>
<SendLabel w5>
<KeyDown E>
<Else If MouseIsOverWindow WoW2>
<SendLabel w3>
<KeyDown Q>
<SendLabel w4>
<KeyDown E>
<If MouseIsOverWindow WoW3>
<SendLabel w2>
<KeyDown Q>
<SendLabel w5>
<KeyDown E>
<Else If MouseIsOverWindow WoW4>
<SendLabel w2>
<KeyDown Q>
<SendLabel w5>
<KeyDown E>
<Else If MouseIsOverWindow WoW5>
<SendLabel w2>
<KeyDown Q>
<SendLabel w4>
<KeyDown E>
<HotkeyUp CTRL ALT Divide>
<Toggle>
<If MouseIsOverWindow WoW1>
<SendLabel w2>
<KeyUp Q>
<SendLabel w3>
<KeyUp Q>
<SendLabel w4>
<KeyUp E>
<SendLabel w5>
<KeyUp E>
<Else If MouseIsOverWindow WoW2>
<SendLabel w1>
<KeyUp Q>
<SendLabel w3>
<KeyUp Q>
<SendLabel w4>
<KeyUp E>
<SendLabel w5>
<KeyUp E>
<If MouseIsOverWindow WoW3>
<SendLabel w1>
<KeyUp Q>
<SendLabel w2>
<KeyUp Q>
<SendLabel w4>
<KeyUp E>
<SendLabel w5>
<KeyUp E>
<Else If MouseIsOverWindow WoW4>
<SendLabel w1>
<KeyUp Q>
<SendLabel w2>
<KeyUp Q>
<SendLabel w3>
<KeyUp E>
<SendLabel w5>
<KeyUp E>
<Else If MouseIsOverWindow WoW5>
<SendLabel w1>
<KeyUp Q>
<SendLabel w2>
<KeyUp Q>
<SendLabel w3>
<KeyUp E>
<SendLabel w4>
<KeyUp E>
<Toggle>
<If MouseIsOverWindow WoW1>
<SendLabel w3>
<KeyUp Q>
<SendLabel w5>
<KeyUp E>
<Else If MouseIsOverWindow WoW2>
<SendLabel w3>
<KeyUp Q>
<SendLabel w4>
<KeyUp E>
<If MouseIsOverWindow WoW3>
<SendLabel w2>
<KeyUp Q>
<SendLabel w5>
<KeyUp E>
<Else If MouseIsOverWindow WoW4>
<SendLabel w2>
<KeyUp Q>
<SendLabel w5>
<KeyUp E>
<Else If MouseIsOverWindow WoW5>
<SendLabel w2>
<KeyUp Q>
<SendLabel w4>
<KeyUp E>
This is my movement code. Moves 2 toons out and then 4 toons out putting them in a straight line. Looks cool and is an eye grabber when people are watching. That's really it for now.
Connect With Us