-
Notifications
You must be signed in to change notification settings - Fork 0
/
global_customisations.talon
237 lines (237 loc) · 7.05 KB
/
global_customisations.talon
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
redo: key(ctrl-y)
undo: key(ctrl-z)
undo <user.number_signed_small>:
key(ctrl-z)
repeat(number_signed_small-1)
backspace: key(backspace)
backspace <user.number_signed_small>:
key(backspace)
repeat(number_signed_small-1)
delete: key(delete)
delete <user.number_signed_small>:
key(delete)
repeat(number_signed_small-1)
maximise [window]:
key(alt-space)
sleep(700ms)
key(x)
restore [window]:
key(alt-space)
sleep(400ms)
key(r)
minimise [window]:
key(alt-space)
sleep(400ms)
key(n)
switch [window]:
key(alt-tab)
move [to] top: key(ctrl-home)
move [to] bottom: key(ctrl-end)
window [monitor] switch: key(super-shift-left)
[focus] system tray: key(super-b)
focus desktop: key(super-d)
focus taskbar: key(super-t)
find again: key(f3)
#context menu: key(shift-f10)
#for the upwork tracking application
begin Upwork tracking: key(ctrl-alt-])
(end tracking) | (stop tracking): key(ctrl-alt-[)
open clipboard: key(super-v)
windows start <user.text>:
key(super)
sleep(300ms)
insert(text)
open file manager: key(super-e)
open terminal: key(super-t)
launch preview:
key(super)
sleep(900ms)
insert("visual studio 2022 preview")
sleep(900ms)
key(enter)
launch code:
key(super)
sleep(900ms)
insert("visual studio code")
sleep(900ms)
key(enter)
show letters: key(ctrl-super-alt-m)
control abbreviation: insert("ctrl")
computer sleep confirm:
speech.disable()
key(super-r)
sleep(300ms)
insert("cmd")
sleep(300ms)
key(enter)
sleep(600ms)
#will hibernate the computer!
insert("rundll32.exe powrprof.dll, SetSuspendState Sleep")
sleep(300ms)
key(enter)
# toggle mouse: key(ctrl-alt-f9)
# centre mouse: key(ctrl-alt-f1)
tabby: key(tab)
fluent search: key(super-ctrl-shift)
fluent search <user.text>:
key(super-ctrl-shift)
sleep(300ms)
insert(text)
sleep(300ms)
pause some: sleep(500ms)
select rest of line: key(shift-end)
double home:
key(home)
sleep(100ms)
key(home)
remove last space:
key(ctrl-left)
sleep(100ms)
key(backspace)
sleep(100ms)
key(end)
tab backwards: key(shift-tab)
#switch to <user.running_applications>: user.switcher_focus(running_applications)
#This one not working:
focus data: user.switcher_focus("Azure Data Studio")
focus terminal: user.switcher_focus("WindowsTerminal.exe")
focus code: user.switcher_focus("code.exe")
focus studio: user.switcher_focus("devenv.exe")
focus edge: user.switcher_focus("msedge.exe")
focus chrome: user.switcher_focus("chrome.exe")
dictation <user.text>: insert(text)
click: mouse_click(0)
move up <number_small>:
key(up)
repeat(number_small-1)
go up:
key(up)
go down:
key(down)
go left:
key(left)
go right:
key(right)
#Clears the message in Visual Studio
clear message:
mouse_move(1500, 900)
mouse_click(0)
[enter] email address: insert("[email protected]")
test email: insert("[email protected]")
enter office username: insert("[email protected]")
enter username:
insert("MPhil")
sleep(100ms)
key(tab)
alternate: key(alt)
fake email:
emailAddress = user.fake_email()
insert(emailAddress)
fake phone number:
phoneNumber = user.generate_random_number()
insert(phoneNumber)
enter timestamp: insert(user.time_format("%Y-%m-%d %H:%M:%S"))
reset mouse:
user.mouse_sleep()
#Disables control mouse, zoom mouse, and re-enables cursor
user.mouse_show_cursor()
select and copy:
key(ctrl-a)
sleep(100ms)
key(ctrl-c)
sleep(100ms)
voice typing:
key(super-h)
speech.disable()
(voice typing in code) | (draft in code):
user.switcher_focus("code")
speech.disable()
sleep(500ms)
key(ctrl-n)
sleep(500ms)
key(super-h)
draft submit:
key(ctrl-a)
sleep(100ms)
key(ctrl-c)
sleep(100ms)
key(alt-tab)
sleep(100ms)
key(ctrl-v)
draft this:
key(ctrl-a)
sleep(100ms)
key(ctrl-c)
user.switcher_focus("code")
speech.disable()
sleep(500ms)
key(ctrl-n)
sleep(500ms)
key(ctrl-v)
sleep(50ms)
key(super-h)
enter my name: insert("Mark Phillipson")
enter my last name: insert("Phillipson")
enter army number: insert("24593308")
enter default Github: insert("https://github.com/Mark-Phillipson/BlazorCRUD_UIGenerator")
key(keypad_plus): speech.disable()
key(keypad_minus): speech.enable()
ziggy <user.text>: #do nothing calling amazon Echo' device
drowse:
#app.notify('I feel drowsy.', 'Talon Now Sleeping', 'DROWSE', true)
speech.disable()
press alt: key(alt)
click drowse:
speech.disable()
mouse_click(0)
#SmartNav Mouse Commands
# center mouse: key(ctrl-alt-f12)
# toggle pause mouse: key(ctrl-alt-f9)
# scroll mouse: key(ctrl-alt-f11)
# precision mode: key(ctrl-alt-f8)
search clipboard: key(ctrl-shift-f12)
start recording:
user.switcher_focus("obs64.exe")
key(ctrl-super-shift-r)
sleep(50ms)
app.notify('Running OBS record command', 'Message From Talon Voice', 'TALON', true)
stop recording:
user.switcher_focus("obs64.exe")
key(ctrl-super-shift-s)
sleep(50ms)
app.notify('Running OBS stop record command', 'Message From Talon Voice', 'TALON', true)
{user.naughty_words}:
app.notify("That's quite enough of that", "More Money for the Sware Jar!", "TALON", true)
take line:
key(end)
sleep(50ms)
key(shift-home)
# bing chat [<user.text>]:
# user.open_url("https://www.bing.com/chat?form=NTPCHB")
# sleep(500ms)
# insert(text)
[focus] development template: key(ctrl-alt-shift-t)
focus [talon] my stuff: key(ctrl-alt-shift-m)
focus [talon] community: key(ctrl-alt-shift-y)
focus Blazor CRUD: key(ctrl-alt-shift-c)
focus voice admin: key(ctrl-alt-shift-v)
click and sleep:
mouse_click(0)
speech.disable()
talon relaunch: talon_relaunch()
calculate <user.number_string> minus <user.number_string>:
value = user.calculate_minus(number_string_1, number_string_2)
insert(value)
calculate <user.number_string> plus <user.number_string>:
value = user.calculate_plus(number_string_1, number_string_2)
insert(value)
calculate <user.number_string> times <user.number_string>:
value = user.calculate_multiply(number_string_1, number_string_2)
insert(value)
calculate <user.number_string> divided by <user.number_string>:
value = user.calculate_divide(number_string_1, number_string_2)
insert(value)
# Microsoft Power Toys Voice Commands
shortcut guide: key(super-shift-/)
color picker: key(super-shift-c)
date insert: insert(user.time_format("%d-%m-%Y"))