; 简单的两个窗口 同步滚动的实现
F1 & WheelDown::
CoordMode Mouse, Screen
MouseGetPos,x
if (x > (A_ScreenWidth/2)) {
MouseClick, WD,,,,0
Sleep, 2
MouseClick, WD, 622, 543,,0
} else {
MouseClick, WD,,,,0
Sleep, 2
MouseClick, WD, 1586, 559,,0
}
CoordMode,Mouse, Relative
Sleep, 60
return
F1 & WheelUp::
CoordMode Mouse, Screen
MouseGetPos, x
if(x > (A_ScreenWidth/2)){
MouseClick, WU,,,,0
Sleep, 2
MouseClick, WU, 622, 543,,0
} else {
MouseClick, WU,,,,0
Sleep, 2
MouseClick, WU, 1586, 559,,0
}
CoordMode Mouse, Relative
Sleep, 60
return
声明:站内资源为整理优化好的代码上传分享与学习研究,如果是开源代码基本都会标明出处,方便大家扩展学习路径。请不要恶意搬运,破坏站长辛苦整理维护的劳动成果。本站为爱好者分享站点,所有内容不作为商业行为。如若本站上传内容侵犯了原著者的合法权益,请联系我们进行删除下架。

评论(0)