|
|

楼主 |
发表于 2006-6-12 13:34:41
|
显示全部楼层
硬着头皮看man page,发现一个FakeKeypress命令可能实现这个功能:
1.先建两个函数:(大意是如果窗口是AcroRead,则按下Up或Down)
DestroyFunc KeyPressUp
AddToFunc KeyPressUp
+ I All ( !"AcroRead" ) Mouse 4 W A FakeKeypress \
press Up
DestroyFunc KeyPressDown
AddToFunc KeyPressDown
+ I All ( !"AcroRead" ) Mouse 5 W A FakeKeypress \
press Down
2.把这两个函数bind到鼠标的滚轮
Mouse 4 W A Function KeypressUp
Mouse 5 W A Function KeypressDown
3.这样就非常完美了(试过好多种设置均存在一些问题) |
|