|
发表于 2022-5-2 09:04:27
|
显示全部楼层
本帖最后由 staymoon 于 2022-5-2 10:02 编辑 : L$ j) s2 J \1 A
# h- Z) w0 b- [" V. l4 K/ I! F- b% {
! L5 d* O5 U$ B7 Q4 E感谢你的点子,我修改了一个Alt和鼠标左键取词,支持浏览器链接选词,跨软件选中取词,可以试试:* ^! r' {( _* P# i2 ]! a
- ; Use the "Alt" key and the "left mouse button" to call GoldenDict2 F X( {/ Y) E
$ @, x" b4 l2 t, e- ~Alt & ~LButton::- M) e- y9 o7 r/ s: T7 q1 s! D- J1 f
- Keywait, LButton
# R( X1 M- e! P4 t: u - OnClipboardChange("GoldenDictClipChanged")/ d0 ]- L# ]/ ]% W
- Send ^c
: i, D6 x$ B* u; I* H" K - return1 Z) Y3 D+ M; D7 b0 n
0 M C) M6 |4 x! }0 [0 T! A- GoldenDictClipChanged(Type) {
4 ~/ l6 G8 D) B6 [) T! F9 T; s2 T - OnClipboardChange("GoldenDictClipChanged", 0)- V S; Z1 z( |* h+ u
- if (Type = 1) {4 L1 c$ j* u! y
- Run C:\Users\yourname\Documents\GoldenDict\GoldenDict.exe "%clipboard%"7 ]& v7 g: [0 I ?" C: J
- }2 x( p" u* C- C8 A) y; v
- }
复制代码 |
|