NoEnv SetBatchLines -1 ListLines Off Persistent IfWinActive ahk_exe client.exe XButton1:: SetTimer, A, 20 Return A: Pixe
#NoEnv
SetBatchLines -1
ListLines Off
#Persistent
#IfWinActive ahk_exe client.exe
XButton1::
SetTimer, A, 20
Return
A:
PixelGetColor, color, 1171, 872
if ( color=="0x0B0871" || color=="0x5B2F0E" ) ;夜叉,修罗
sendinput t4
else
sendinput f4
sendinput v24
Return
XButton1 UP::
SetTimer, A, OFF
Return
XButton2::
While( Getkeystate("XButton2","P") )
{
PixelGetColor, color, 1145, 904
if ( color!=0xFA83F5 ) ;罗刹
sendinput t2
sendinput 44
sleep 10
}
Return
MButton::
While( Getkeystate("MButton","P") )
{
sendinput ss
sleep 50
}
Return
#IfWinActive
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。


111
谢谢的大佬的教学啊
可以请教下吗
感谢留言!有其他AHK相关的问题欢迎继续交流~
📚 **推荐继续学习**:
• [批量勾选Portable App Directory窗口中所有复选框 2026年](https://www.autoahk.com/?p=59277)(10积分)
• [设置显示或者隐藏MasterSeeker和Total Commander主窗口的](https://www.autoahk.com/?p=58891)(10积分)
💡 本站教程的代码块用积分解锁,新用户注册送积分,可以免费看几篇试试水~
谢谢评论!有什么问题欢迎继续交流 👏
???
你的脚本我用了
大兄弟你也上个加点啊!
用着不方便没有我的那个爽按一下就行了