forked from talonhub/community
-
Notifications
You must be signed in to change notification settings - Fork 0
/
random_win.talon
36 lines (30 loc) · 869 Bytes
/
random_win.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
os: win
-
win last: key(alt-tab)
switch apps: key(super-tab)
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)
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")