-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathinstall.command
More file actions
executable file
·30 lines (20 loc) · 837 Bytes
/
install.command
File metadata and controls
executable file
·30 lines (20 loc) · 837 Bytes
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
#! /bin/bash
SCRIPT_DIR=`dirname "${0}"`
INSTALL_DIR="${HOME}/Library/Scripts/Capture One Scripts"
CAPTUREONE="com.captureone.captureone16"
ADD_SHORTCUT="defaults write ${CAPTUREONE} NSUserKeyEquivalents -dict-add"
echo "Copying scripts..."
for d in "${SCRIPT_DIR}/Capture One Scripts"/*.applescript ; do \
echo " ${d}"
cp "${d}" "${INSTALL_DIR}"
done
echo "Setting keyboard shortcuts for Capture One 23..."
${ADD_SHORTCUT} "Scriptsapply_keywords" "@\$k"
${ADD_SHORTCUT} "Scriptsmake_new_dir" "^n"
${ADD_SHORTCUT} "Scriptsselect_previous_capture" "^↑"
${ADD_SHORTCUT} "Scriptsselect_next_capture" "^↓"
${ADD_SHORTCUT} "Scriptsselect_9_up" "^9"
${ADD_SHORTCUT} "Scriptsadd_capture_to_favs" "^f"
${ADD_SHORTCUT} "Scriptssorted_trash" "@~\\U232b"
${ADD_SHORTCUT} "Scriptsresume_counter" "@~r"
echo "Done"