Quote Originally Posted by cb220
I then opened two copies of WoW (both loaded from the same WoW folder), logged into the two accounts and tried making the mage cast a spell through my other characters window and nothing happened .
You need to run your 2 WoW sessions first and then you run the AHK script.

In the example script posted in the AHK sticky it searches for the WoW sessions and asks you which one is your primary.

%wowid1% - will be set equal to your primary session
%wowid2% - will be set equal to your secondary session