-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathadobe_acrobat.ahk
70 lines (63 loc) · 2.01 KB
/
adobe_acrobat.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
;#################################################################
;##### CfK -- App -- Adobe Acrobat (Professional)
;# = Super, ^ = Ctrl, ! = Alt, + = Shift, ^>! = AltGr
#IfWinActive ahk_class AcrobatSDIWindow
^!k::
MouseGetPos mouse_x, mouse_y
; make click in adobe independable of monitor
activeMonitorInfo(monitor_left, monitor_top, monitor_width, monitor_height)
click_x := monitor_left + monitor_width - 223
click_y := monitor_top + 193
MouseClick, left, click_x, click_y
Sleep, 500
Send, ^a
MouseMove %mouse_x%, %mouse_y%
return
^NumpadAdd::
MouseGetPos mouse_x, mouse_y
; make click in adobe independable of monitor
activeMonitorInfo(monitor_left, monitor_top, monitor_width, monitor_height)
click_x := monitor_left + monitor_width - 255
click_y := monitor_top + 228
MouseClick, left, click_x, click_y
Sleep, 500
MouseMove %mouse_x%, %mouse_y%
return
^NumpadSub::
MouseGetPos mouse_x, mouse_y
; make click in adobe independable of monitor
activeMonitorInfo(monitor_left, monitor_top, monitor_width, monitor_height)
click_x := monitor_left + monitor_width - 182
click_y := monitor_top + 228
MouseClick, left, click_x, click_y
Sleep, 500
Send, ^a{DEL}{ESC}
MouseMove %mouse_x%, %mouse_y%
return
^+NumpadSub::
MouseGetPos mouse_x, mouse_y
; make click in adobe independable of monitor
activeMonitorInfo(monitor_left, monitor_top, monitor_width, monitor_height)
click_x := monitor_left + monitor_width - 224
click_y := monitor_top + 228
MouseClick, left, click_x, click_y
Sleep, 500
MouseMove %mouse_x%, %mouse_y%
return
^NumpadMult::
Send, S
Sleep, 500
MouseClick, left
return
^NumpadDiv::
MouseGetPos mouse_x, mouse_y
; make click in adobe independable of monitor
activeMonitorInfo(monitor_left, monitor_top, monitor_width, monitor_height)
click_x := monitor_left + monitor_width - 139
click_y := monitor_top + 228
MouseClick, left, click_x, click_y
Sleep, 500
Send, ^a{DEL}{ESC}
MouseMove %mouse_x%, %mouse_y%
return
#IfWinActive