我是 windows8 用户,我试图仅在 Irfanview(图片查看器应用程序)内切换左右按钮,因为默认平移始终是鼠标左按钮,但在 irfan 视图中是鼠标右键,所以我想每当我按住左鼠标按钮,它发送按住鼠标右键。我试过这个宏:它在 Irfanview 中工作,但也会影响 Windows 桌面,有时也会影响其他一些程序。
#NoEnv
#SingleInstance, Force
#Persistent
#InstallMouseHook
#ifWinActive ahk_class IrfanView
LButton::RButton
RButton::LButton
#IfWinActive ahk_class FullScreenClass
LButton::RButton
RButton::LButton
有人可以给我一些建议,也许是有条件的?
谢谢先进。