考虑到不同语言版本,标题名不一样(Mouse Properties = 鼠标属性),修改为如下
#m::
run control main.cpl
win_class = #32770
winwait ahk_class %win_class%
WinActivate ahk_class %win_class%
winwaitactive ahk_class %win_class%
if errorlevel = 0
{
send !s
sleep 500
send {enter}
}
return
原版本如下:
#m::
run control main.cpl
title = Mouse Properties
winwait %title%
WinActivate %title%
winwaitactive %title%
if errorlevel = 0
{
send !s
sleep 500
send {enter}
}