#!/bin/bash #============================================================================== # MESSAGE NOTES -> PROPRESENTER # # Turns the pastor's notes ("Slides - .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. It picks up the newest notes (from the email folder, or # Downloads/Desktop/Documents), checks them for typos, picks the template and # speaker, and shows one summary. Enter creates the presentation and links it # into the next service's playlist (Message section). Type q at any prompt to quit. # # First run asks which campus this is (saved). Run with --setup to change it. # # 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