这是不让保存吗?有可能为什么呢。
#IfWinActive ahk_exe client.exe
FileInstall,G:\桌面\AHK_剑灵\Bns\zzzs\2.png,%A_WorkingDir%\2.png
FileInstall,G:\桌面\AHK_剑灵\Bns\zzzs\3.png,%A_WorkingDir%\3.png
FileInstall,G:\桌面\AHK_剑灵\Bns\zzzs\f.png,%A_WorkingDir%\f.png
FileInstall,G:\桌面\AHK_剑灵\Bns\zzzs\v.png,%A_WorkingDir%\v.png
FileInstall,G:\桌面\AHK_剑灵\Bns\zzzs\黑龙.png,%A_WorkingDir%\黑龙.png
FileInstall,G:\桌面\AHK_剑灵\Bns\zzzs\星.png,%A_WorkingDir%\星.png
XButton1::
loop{
__imageFilepath=%A_WorkingDir%\星.png
ImageSearch, _Foundy, 973, 1173, 1072, 1270 ,%__imagefilepath%
if (errorlevel=0)
{
Send,“
}
Else
{
}
__imageFilepath=%A_WorkingDir%\黑龙.png
ImageSearch, _Foundy, x1, y1, x2, y2 ,%__imagefilepath%
if (errorlevel=0)
{
Send,4
}
Else
{
}
__imageFilepath=%A_WorkingDir%\f.png
ImageSearch, _Foundy, x1, y1, x2, y2 ,%__imagefilepath%
if (errorlevel=0)
{
Send,f
}
Else
{
}
__imageFilepath=%A_WorkingDir%\v.png
ImageSearch, _Foundy, x1, y1, x2, y2 ,%__imagefilepath%
if (errorlevel=0)
{
Send,v
}
Else
{
}
__imageFilepath=%A_WorkingDir%\3.png
ImageSearch, _Foundy, x1, y1, x2, y2 ,%__imagefilepath%
if (errorlevel=0)
{
Send,3
}
Else
{
}
__imageFilepath=%A_WorkingDir%\2.png
ImageSearch, _Foundy, x1, y1, x2, y2 ,%__imagefilepath%
if (errorlevel=0)
{
Send,2
}
Else
{
}
}
Until Not getkeystate(“XButton1″,”P”)
return
建议你把问题发圈子
不好意思 !刚入。还不太懂,能发就发了。以后注意。再问问,圈子在哪能找到。
找到了。谢谢提醒