关于魔兽世界autohotkey双开的详细教程
2024-07-18 09:54:11作者:饭克斯
WinGet,wowid,List,魔兽世界
~1::
KeyWait1
IfWinActive,魔兽世界
{
ControlSend,,1,ahk_id%wowid1%
ControlSend,,1,ahk_id%wowid2%
ControlSend,,1,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~2::
KeyWait2
IfWinActive,魔兽世界
{
ControlSend,,2,ahk_id%wowid1%
ControlSend,,2,ahk_id%wowid2%
ControlSend,,2,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~3::
KeyWait3
IfWinActive,魔兽世界
{
ControlSend,,3,ahk_id%wowid1%
ControlSend,,3,ahk_id%wowid2%
ControlSend,,3,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~4::
KeyWait4
IfWinActive,魔兽世界
{
ControlSend,,4,ahk_id%wowid1%
ControlSend,,4,ahk_id%wowid2%
ControlSend,,4,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~5::
KeyWait5
IfWinActive,魔兽世界
{
ControlSend,,5,ahk_id%wowid1%
ControlSend,,5,ahk_id%wowid2%
ControlSend,,5,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~6::
KeyWait6
IfWinActive,魔兽世界
{
ControlSend,,6,ahk_id%wowid1%
ControlSend,,6,ahk_id%wowid2%
ControlSend,,6,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~7::
KeyWait7
IfWinActive,魔兽世界
{
ControlSend,,7,ahk_id%wowid1%
ControlSend,,7,ahk_id%wowid2%
ControlSend,,7,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~8::
KeyWait8
IfWinActive,魔兽世界
{
ControlSend,,8,ahk_id%wowid1%
ControlSend,,8,ahk_id%wowid2%
ControlSend,,8,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~9::
KeyWait9
IfWinActive,魔兽世界
{
ControlSend,,9,ahk_id%wowid1%
ControlSend,,9,ahk_id%wowid2%
ControlSend,,9,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~0::
KeyWait0
IfWinActive,魔兽世界
{
ControlSend,,0,ahk_id%wowid1%
ControlSend,,0,ahk_id%wowid2%
ControlSend,,0,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~-::
KeyWait-
IfWinActive,魔兽世界
{
ControlSend,,-,ahk_id%wowid1%
ControlSend,,-,ahk_id%wowid2%
ControlSend,,-,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~=::
KeyWait=
IfWinActive,魔兽世界
{
ControlSend,,=,ahk_id%wowid1%
ControlSend,,=,ahk_id%wowid2%
ControlSend,,=,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~Q::
KeyWaitQ
IfWinActive,魔兽世界
{
ControlSend,,Q,ahk_id%wowid1%
ControlSend,,Q,ahk_id%wowid2%
ControlSend,,Q,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~E::
KeyWaitE
IfWinActive,魔兽世界
{
ControlSend,,E,ahk_id%wowid1%
ControlSend,,E,ahk_id%wowid2%
ControlSend,,E,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~T::
KeyWaitT
IfWinActive,魔兽世界
{
ControlSend,,T,ahk_id%wowid1%
ControlSend,,T,ahk_id%wowid2%
ControlSend,,T,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~Y::
KeyWaitG
IfWinActive,魔兽世界
{
ControlSend,,G,ahk_id%wowid1%
ControlSend,,G,ahk_id%wowid2%
ControlSend,,G,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~F::
KeyWaitF
IfWinActive,魔兽世界
{
ControlSend,,F,ahk_id%wowid1%
ControlSend,,F,ahk_id%wowid2%
ControlSend,,F,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~G::
KeyWaitZ
IfWinActive,魔兽世界
{
ControlSend,,Z,ahk_id%wowid1%
ControlSend,,Z,ahk_id%wowid2%
ControlSend,,Z,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~H::
KeyWaitC
IfWinActive,魔兽世界
{
ControlSend,,C,ahk_id%wowid1%
ControlSend,,C,ahk_id%wowid2%
ControlSend,,C,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~V::
KeyWaitV
IfWinActive,魔兽世界
{
ControlSend,,V,ahk_id%wowid1%
ControlSend,,V,ahk_id%wowid2%
ControlSend,,V,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~B::
KeyWaitB
IfWinActive,魔兽世界
{
ControlSend,,B,ahk_id%wowid1%
ControlSend,,B,ahk_id%wowid2%
ControlSend,,B,ahk_id%wowid3%
Return
}
WinGet,wowid,List,魔兽世界
~N::
KeyWaitN
IfWinActive,魔兽世界
{
ControlSend,,N,ahk_id%wowid1%
ControlSend,,N,ahk_id%wowid2%
ControlSend,,N,ahk_id%wowid3%
Return
}
#IfWinActive,魔兽世界
F1::
{
ControlSend,,{F1down}{F1up},ahk_id%wowid1%
ControlSend,,{F1down}{F1up},ahk_id%wowid2%
}
return
#IfWinActive,魔兽世界
F2::
{
ControlSend,,{F2down}{F2up},ahk_id%wowid1%
ControlSend,,{F2down}{F2up},ahk_id%wowid2%
}
return
#IfWinActive,魔兽世界
F3::
{
ControlSend,,{F3down}{F3up},ahk_id%wowid1%
ControlSend,,{F3down}{F3up},ahk_id%wowid2%
}
return
#IfWinActive,魔兽世界
F4::
{
ControlSend,,{F4down}{F4up},ahk_id%wowid1%
ControlSend,,{F4down}{F4up},ahk_id%wowid2%
}
return
#IfWinActive,魔兽世界
F5::
{
ControlSend,,{F5down}{F5up},ahk_id%wowid1%
ControlSend,,{F5down}{F5up},ahk_id%wowid2%
}
return
#IfWinActive,魔兽世界
F6::
{
ControlSend,,{F6down}{F6up},ahk_id%wowid1%
ControlSend,,{F6down}{F6up},ahk_id%wowid2%
}
return
#IfWinActive,魔兽世界
F7::
{
ControlSend,,{F7down}{F7up},ahk_id%wowid1%
ControlSend,,{F7down}{F7up},ahk_id%wowid2%
}
return
#IfWinActive,魔兽世界
F8::
{
ControlSend,,{F8down}{F8up},ahk_id%wowid1%
ControlSend,,{F8down}{F8up},ahk_id%wowid2%
}
return
#IfWinActive,魔兽世界
F9::
{
ControlSend,,{F9down}{F9up},ahk_id%wowid1%
ControlSend,,{F9down}{F9up},ahk_id%wowid2%
}
return
#IfWinActive,魔兽世界
F10::
{
ControlSend,,{F10down}{F10up},ahk_id%wowid1%
ControlSend,,{F10down}{F10up},ahk_id%wowid2%
}
return
#IfWinActive,魔兽世界
F11::
{
ControlSend,,{F11down}{F11up},ahk_id%wowid1%
ControlSend,,{F11down}{F11up},ahk_id%wowid2%
}
return
#IfWinActive,魔兽世界
F12::
{
ControlSend,,{F12down}{F12up},ahk_id%wowid1%
ControlSend,,{F12down}{F12up},ahk_id%wowid2%
}
return
这是我的宏你要是用不习惯就改1-6的技能位置