-
Notifications
You must be signed in to change notification settings - Fork 1
/
steam_writing_assistant.ahk
106 lines (97 loc) · 1.78 KB
/
steam_writing_assistant.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
104
105
106
#SingleInstance, Force
;SendMode Input
;SetWorkingDir, %A_ScriptDir%
;A_Clipboard := "" ; Start off empty to allow ClipWait to detect when the text has arrived.
;[quote] ctrl+q
^q::
Send ^c
ClipWait
clipboard = [quote] %A_Clipboard% [/quote]
return
;=====================================bold===================
;""[b] alt+b
!b::
Send ^c
ClipWait
clipboard = [b]"%A_Clipboard%"[/b]
Send ^v
return
;[/b] ctrl+b
^b::
Send ^c
ClipWait
clipboard = [b] %A_Clipboard% [/b]
Send ^v
return
;======================================[Italic]====================
;[i] ctrl+I
^i::
Send ^c
ClipWait
clipboard = [i] %A_Clipboard% [/i]
Send ^v
return
; ""[i] alt+I
!i::
Send ^c
ClipWait
clipboard = [i] "%A_Clipboard%" [/i]
Send ^v
return
;===============================[Bold+italic]==============
;[i] Shift+ctrl+I
^!b::
Send ^c
ClipWait
clipboard = [b] [i] %A_Clipboard% [/i] [/b]
Send ^v
return
;[i] Shift+ctrl+I
^!I::
Send ^c
ClipWait
clipboard = [b] [i] %A_Clipboard% [/i] [/b]
Send ^v
return
;==============================[spoiler]=============================
^s::
Send ^c
ClipWait
clipboard = [spoiler] %A_Clipboard% [/spoiler]
Send ^v
return
;==============================[horizontal rule]=============================
^h::
send, [hr][/hr]
return
;==============================[Bulleted list]=============================
^3::
SendInput,
(
[list]
[*]
[/list]
)
return
;==============================[order list]=============================
^2::SendInput,
(
[olist]
[*]
[/olist]
)
return
;==============================[one slot list]=============================
^1::
Send, {Enter}
SendInput,
(
[*]
)
return
;==============================[code]=============================
!c:: SendInput,
(
[code] [/code]
)
return