-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChiefLai.ahk
59 lines (47 loc) · 1.17 KB
/
ChiefLai.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
; Group Control For SmartWonder
GroupAdd, SmartWonder, VGHKS-
GroupAdd, SmartWonder, vghks-
GroupAdd, SmartWonder, tedpc-
; Global Variables
; 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
#IfWinActive ahk_group SmartWonder
;;; HotStrings
#Include MyScripts\neuro-lai.ahk
#IfWinActive
; HotKeys
#Include MyScripts\hotkey\change-font.ahk
#Include MyScripts\hotkey\copy-order.ahk
#Include MyScripts\hotkey\insert-patient-exam-info.ahk
#Include MyScripts\hotkey\renumber-selected-text.ahk
#Include MyScripts\hotkey\toggle-hanging-protocol.ahk
#Include MyScripts\hotkey\detect-non-ascii-chars.ahk
; Define hotkeys
#IfWinActive ahk_group SmartWonder
; CopyIndication
$^i::
MyOrderDiag := CopyOrder()
Paste(MyOrderDiag, 0)
Return
; Renumber Seleted Text
$^!n::
RenumberSeletedText()
Return
; Detect Non-Ascii Chars
^!a::
DetectNonAsciiChars()
Return
#IfWinActive
; Insert Patient Exam Info
;; This hotkey cannot be included in SmartWonder window group
$^h::
InsertPatientExamInfo()
Return