If you don't like Ualaa's way, here's mine: Having Melee Automaticaly IWT
Before transferring to KJ I ran a Bear tank, Unholy DPS DK, 3 shaman. Before IWT I simply had a follow key that just was sent to the DK to follow the tank. Since the glorious advent of Interact with Target, it's much easier. In light of the flame fest that some people decided to throw on Ualaa, here's my method of automatic IWT.
In this VERY basic example, my IWT keybind is set to SHIFT + X. My melee toon is the "current" window. "9" is my spam DPS key, it sends 9 which is click macros or whatever spell I want to use.
Code:
<?xml version="1.0" encoding="utf-8"?>
<Box xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ObjectType>System.Collections.Generic.List`1[ISBoxer_Toolkit.Configs.KeyMaps.MappedKey]</ObjectType>
<SerializedObject><?xml version="1.0" encoding="utf-8"?>
<ArrayOfMappedKey xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<MappedKey>
<Name>Main DPS Spam</Name>
<Combo>
<Combo>9</Combo>
<Modifiers>None</Modifiers>
<Key>
<Key>9</Key>
<Code>10</Code>
</Key>
</Combo>
<SendNextClickBlockLocal>false</SendNextClickBlockLocal>
<ResetTimer>0.1</ResetTimer>
<ResetType>Never</ResetType>
<Mode>OnRelease</Mode>
<Steps>
<Step>
<Stick>0</Stick>
<Actions>
<MappedKeyAction xsi:type="Keystroke">
<Target>all other</Target>
<Combo>
<Combo>9</Combo>
<Modifiers>None</Modifiers>
<Key>
<Key>9</Key>
<Code>10</Code>
</Key>
</Combo>
</MappedKeyAction>
<MappedKeyAction xsi:type="Keystroke">
<Target>self</Target>
<Combo>
<Combo>Shift+X</Combo>
<Modifiers>Shift</Modifiers>
<Key>
<Key>X</Key>
<Code>45</Code>
</Key>
</Combo>
</MappedKeyAction>
</Actions>
</Step>
<Step>
<Stick>0</Stick>
<Actions>
<MappedKeyAction xsi:type="Keystroke">
<Target>all</Target>
<Combo>
<Combo>9</Combo>
<Modifiers>None</Modifiers>
<Key>
<Key>9</Key>
<Code>10</Code>
</Key>
</Combo>
</MappedKeyAction>
</Actions>
</Step>
<Step>
<Stick>0</Stick>
<Actions>
<MappedKeyAction xsi:type="Keystroke">
<Target>all other</Target>
<Combo>
<Combo>9</Combo>
<Modifiers>None</Modifiers>
<Key>
<Key>9</Key>
<Code>10</Code>
</Key>
</Combo>
</MappedKeyAction>
<MappedKeyAction xsi:type="Keystroke">
<Target>self</Target>
<Combo>
<Combo>Shift+X</Combo>
<Modifiers>Shift</Modifiers>
<Key>
<Key>X</Key>
<Code>45</Code>
</Key>
</Combo>
</MappedKeyAction>
</Actions>
</Step>
<Step>
<Stick>0</Stick>
<Actions>
<MappedKeyAction xsi:type="Keystroke">
<Target>all</Target>
<Combo>
<Combo>9</Combo>
<Modifiers>None</Modifiers>
<Key>
<Key>9</Key>
<Code>10</Code>
</Key>
</Combo>
</MappedKeyAction>
</Actions>
</Step>
</Steps>
</MappedKey>
</ArrayOfMappedKey></SerializedObject>
</Box>
Copy and paste that into ISBoxer and you'll see that I have 4 steps in the keymap. The first step sends IWT (shift + X) to the melee toon (Window:Current) and 9 to everyone else. The second step sends 9 to the melee toon (dps key) and 9 to everyone else. The third step is IWT (shift + X) to the melee toon (Window:Current) and 9 to everyone else. The fourth step is The second step sends 9 to the melee toon (dps key) and 9 to everyone else.
What this allows me to do is spam ONE key, in this case 9, and have my melee toon IWT every other key press. This way if the mob moves, the melee toon will chase it down. I cleared heroics over and over and over with this setup. I was reported multiple times (I was told I was at least) yet if I really was, no GM ever contacted me about it. This is NOT a unique ability to ISBoxer and as far as I know, my method is perfectly within the ToS/EULA, and the craziness that some people around here seem to THINK the ToS / EULA says.