Quote Originally Posted by 'keyclone',index.php?page=Thread&postID=86289#post 86289
since when are AHK scripts in exe files???

and what command would be given that would sync your targets between your characters without in-game macros? how does it know which character to assist? what if the 'main' dies? how do you switch over?

seems a bit odd to me
http://autohotkey.free.fr/docs/Scripts.htm

According to that you can convert your script to a .exe, since AHK seems to be a specialized version of AutoIT (or at least horribly similar) that feature makes sense...

Code:
; <COMPILER: v1.0.47.6>
#Persistent
#IfWinActive, World of Warcraft
SetTitleMatchMode, 3
SetKeyDelay, -1
Thread, interrupt, 0
SetBatchLines, -1

WoW = World of Warcraft
WinGet, WinID, List, %WoW%
ActiveWin := WinExist("A")
LastFollow := A_TickCount - 1000


~r::
~/::
	Suspend, On
Return
~Enter::
~NumpadEnter::
	Suspend, Toggle
Return


~1::
~2::
~3::
~4::
~5::
~6::
~7::
~8::
~9::
~0::
~-::
~=::
	StringTrimLeft, ThisKey, A_ThisHotKey, 1
	ThisID := WinExist("A")
	If (ThisID != ActiveWin)
	{
		SendInput ^![
		ActiveWin := ThisID
	}
	Loop, %WinID%
		If (ThisID != WinID%A_Index%)
			ControlSend,, {Control Down}{Alt Down}\{Alt Up}{Control Up}{%ThisKey%}, % "ahk_id" WinID%A_Index%
Return


~x::
~z::
~Space::
	StringTrimLeft, ThisKey, A_ThisHotKey, 1
	ThisID := WinExist("A")
	If (ThisID != ActiveWin)
	{
		SendInput ^![
		ActiveWin := ThisID
	}
	Loop, %WinID%
		If (ThisID != WinID%A_Index%)
			ControlSend,, {%ThisKey%}, % "ahk_id" WinID%A_Index%
Return


~q::
~w::
~e::
~a::
~s::
~d::
~Up::
~Down::
~Left::
~Right::
~XButton1::
	ThisID := WinExist("A")
	If (ThisID != ActiveWin)
	{
		SendInput ^![
		ActiveWin := ThisID
	}
	If (A_TickCount - LastFollow > 1000)
		Loop, %WinID%
			If (ThisID != WinID%A_Index%)
			{
				ControlSend,, {Control Down}{Alt Down}]{Alt Up}{Control Up}, % "ahk_id" WinID%A_Index%
				LastFollow := A_TickCount
			}
Return
Thats the contents of the AHK executable... at first blush I don't see anything magic and definitely not anything that looks like it would cause you issues... As for switching who's main it does it based on window focus and sending a new keystroke to the partnered UI mod which says "i'm the master now" and sets the other instances to follow.

That last part IS an assumption, as I've not cracked the LUA, but thats my 30 seconds of insight into this.