
Originally Posted by
'Maparra',index.php?page=Thread&postID=29366#post2 9366
I know this board is mostly about WoW dualboxing, but I figure maybe someone might know what to do about this here...
Autohotkey works fine with WoW, but I can't seem to get it to work with FFXI. I think part of the problem with FFXI is that with macros you MUST use the alt or ctrl keys combined with a number, and perhaps something to do with the interface cancels it out... but still, it seems like it should be possible provided you send the window the correct keys.
Basically I have 2 windows open: one of the differences from WoW is that each window is titled after a character name instead of being titled "World of Warcraft". This is what I tried(also, "pol" is the name of the executable, i.e. pol.exe):
Any help with this would be much appreciated. Thanks!
Well first off curly braces are not necessary and the "return" keyword is for the multi-line hotkey.
The array of windows wouldn't work because the first WinGet polid would be replaced by the second WinGet array.
The "#IfWinActive" directive only needs to be used once for your main character.
So with all that in mind I think this would work better for you:
Code:
WinGet, polid1, ID, MainCharaName
WinGet, polid2, ID, CloneCharaName
#IfWinActive, MainCharaName
Ctrl & 9::
ControlSend,,{Ctrl down}{9 down}{9 up}{Ctrl up}, ahk_id %polid1%
ControlSend,,{Ctrl down}{9 down}{9 up}{Ctrl up}, ahk_id %polid2%
return
Tell me if it works or not as I don't play or have FFXI and cannot test it myself.
Connect With Us