summarylogtreecommitdiffstats
path: root/macroPrompt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'macroPrompt.sh')
-rwxr-xr-xmacroPrompt.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/macroPrompt.sh b/macroPrompt.sh
new file mode 100755
index 000000000000..ca76fc233548
--- /dev/null
+++ b/macroPrompt.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+macroDir=~/.config/xmacro
+if [ ! -d ${macroDir} ];then
+ mkdir -p ${macrodir}
+fi
+
+echo "Which macro button should this be assigned to? [1-5]"
+read macroNumber
+
+fileName=macro${macroNumber}.rec
+
+xmacrorec2 -o ${macroDir}/${fileName}
+
+