forked from talonhub/community
-
Notifications
You must be signed in to change notification settings - Fork 0
/
random.talon
83 lines (67 loc) · 2.28 KB
/
random.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
[focus] title <phrase>: user.switcher_focus_app_title("*", "{phrase}")
cursor <phrase>: user.switcher_focus_app_title("Cursor", "{phrase}")
title community: user.switcher_focus_app_title("Cursor", "community")
mat run:
key(ctrl-s)
user.switcher_focus('matlab')
key(ctrl-shift-0)
key(f5)
key(ctrl-0)
#//TODO: run and debug mode, run line in matlab
mat command:
user.switcher_focus('matlab')
key(ctrl-0)
mat editor:
user.switcher_focus('matlab')
key(ctrl-shift-0)
code edit <user.system_path>:
key(super-r)
sleep(150ms)
insert("code " + system_path)
key(enter)
cursor edit <user.system_path>:
key(super-r)
sleep(150ms)
insert("cursor " + system_path)
key(enter)
(direct | edit) <user.system_path>:
user.open_file_custom(system_path)
folder <user.system_path>:
insert(system_path)
<user.system_path> edit:
user.open_file_custom(system_path)
# user.switcher_focus('Cursor')
insert date: user.insert_current_date()
insert date long: user.insert_current_date("%A, %B %d, %Y")
lower: key(down:12)
hire: key(up:12)
prompt debug: insert("Below you will find a script followed by the output from running the script. Could you please help me debug the following error:")
dough: edit.line_insert_down()
bow: edit.line_insert_up()
terminal Settings: insert("Import-Module PSReadLine")
import module: insert("Import-Module PSReadLine")
add daily note <user.text>:
user.add_daily_note(text)
add note <user.text>:
user.append_to_daily_note_text(text)
[create] daily note <user.text>:
user.create_or_append_date_note_text(text)
(add | new) <user.system_path>:
user.open_file_custom(system_path)
sleep(200ms)
edit.file_start()
sleep(200ms)
user.insert_current_date("%A, %B %d, %Y")
key(enter:3)
key(up:2)
(continue) <user.system_path>:
user.open_file_custom(system_path)
sleep(200ms)
edit.file_start()
sleep(200ms)
edit.line_insert_down()
therapy note <user.text>:
user.add_note_to_physical_therapy(text)
install library: insert("C:/Users/rebec/mne-python/1.8.0_0/python.exe -m pip install bycycle")
upgrade library: insert("C:/Users/rebec/mne-python/1.8.0_0/python.exe -m pip install --upgrade bycycle")
activate conda: insert("C:/Users/rebec/mne-python/1.8.0_0/Scripts/activate")