考虑到不同语言版本,标题名不一样(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}
}
本文介绍了一种改进的CPL运行控制脚本,通过优化标题匹配、激活窗口和自动化操作流程,实现了更高效的计算机操作自动化。
1518

被折叠的 条评论
为什么被折叠?



