-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChiefWu.ahk
103 lines (81 loc) · 2.36 KB
/
ChiefWu.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
; Group Control For SmartWonder
GroupAdd, SmartWonder, VGHKS-
GroupAdd, SmartWonder, vghks-
GroupAdd, SmartWonder, tedpc-
; Global Variables
#Include MyScripts\vars.ahk
; Settings
;#Hotstring EndChars `t
;#Hotstring O
; External Libraries
#Include <WBGet>
#Include <Paste>
;; My Own Lib
#Include MyScripts\lib\frame-wait.ahk
#Include MyScripts\lib\date.ahk
#Include MyScripts\lib\supported-exam-patterns.ahk
;;; HotStrings
#IfWinActive ahk_group SmartWonder
::IC0::
StringWithPrevExamDate("NO interval change from the latest exam")
Return
::OIC0::
StringWithPrevExamDate("Other than above findings, there is NO Other imaging interval CHANGES from the latest study")
Return
::IC1::
StringWithPrevExamDate("mild PROGRESSIVE change from the prior exam")
Return
::IC2::
StringWithPrevExamDate("moderate PROGRESSIVE change from the prior exam")
Return
::IC3::
StringWithPrevExamDate("remarkable PROGRESSIVE change from prior exam")
Return
::IC-0::
StringWithPrevExamDate("NO FURTHER improvement from the latest exam")
Return
::IC-1::
StringWithPrevExamDate("mild IMPROVEMENT as compared with the latest examination")
Return
::IC-2::
StringWithPrevExamDate("moderate IMPROVEMENT but considerable residual change still noted as compared with the latest examination")
Return
::IC-3::
StringWithPrevExamDate("remarkable IMPROVEMENT as compared with the latest examination")
Return
::ic+-::
StringWithPrevExamDate("SOME lesions improved and SOME progressed; as a whole, NO remarkable change")
Return
#IfWinActive
; HotKeys
#Include MyScripts\hotkey\get-previous-report.ahk
#Include MyScripts\hotkey\get-previous-report-with-images.ahk
#Include MyScripts\hotkey\get-previous-exam-date.ahk
#Include MyScripts\hotkey\change-font.ahk
#Include MyScripts\hotkey\copy-order.ahk
#Include MyScripts\hotkey\renumber-selected-text.ahk
#Include MyScripts\hotkey\click-none-tb-none-ot.ahk
; Define hotkeys
#IfWinActive ahk_group SmartWonder
; 複製最近相關報告並開啟影像
^z::
GetPreviousReportWithImages(true, true, 1, false, false, false)
Return
; 複製最近相關報告並開啟最近兩張及三個月前影像
^+z::
GetPreviousReportWithImages(true, true, 2, true, false, false)
Return
; CopyIndication
^i::
MyOrderDiag := CopyOrder()
Paste(MyOrderDiag)
Return
; Renumber Seleted Text
^!n::
RenumberSeletedText()
Return
; Click TB(-)Ot(-)
^t::
ClickNoneTBNoneOt()
Return
#IfWinActive