35 lines
1.4 KiB
Bash
35 lines
1.4 KiB
Bash
#!/bin/bash
|
|||
|
|
#==============================================================================
|
||
|
|
# MESSAGE NOTES -> PROPRESENTER
|
||
|
|
#
|
||
|
|
# Turns the pastor's notes ("Slides - <message>.rtf", or a Word file) into the
|
||
|
|
# message presentation, built from the series or generic template in the
|
||
|
|
# Messages library - the same slides you'd make by copy and paste.
|
||
|
|
#
|
||
|
|
# Double-click, then answer the questions:
|
||
|
|
# 1. which notes file (newest ones are listed; or drag a file in)
|
||
|
|
# 2. which template (series / generic - it suggests one)
|
||
|
|
# 3. who is speaking (recent speakers are listed)
|
||
|
|
# 4. date + presentation name (e.g. "261018 Where Is Your Faith Part 8")
|
||
|
|
# Then every slide is listed for review. Nothing is written until you press
|
||
|
|
# Enter at "Create this presentation?". Type q at any prompt to quit.
|
||
|
|
#
|
||
|
|
# Afterwards it checks the new presentation through ProPresenter's API and
|
||
|
|
# opens a page of slide previews drawn by ProPresenter itself.
|
||
|
|
#
|
||
|
|
# Program: ~/Library/Application Support/MessageNotes/message-notes.pyz
|
||
|
|
# Log: ~/Library/Logs/message-notes.log
|
||
|
|
#==============================================================================
|
||
|
|
APP="$HOME/Library/Application Support/MessageNotes/message-notes.pyz"
|
||
|
|
clear
|
||
|
|
if [ ! -f "$APP" ]; then
|
||
|
|
echo "Can't find $APP"
|
||
|
|
read -r -p "Press Enter to close." _
|
||
|
|
exit 1
|
||
|
|
fi
|
||
|
|
/usr/bin/python3 "$APP" "$@"
|
||
|
|
status=$?
|
||
|
|
echo
|
||
|
|
read -r -p "Press Enter to close this window." _
|
||
|
|
exit $status
|