← back to Dw Photo Capture
launchd/com.steve.dwphoto-sticker-watcher.plist
33 lines
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.steve.dwphoto-sticker-watcher</string>
<key>ProgramArguments</key>
<array>
<string>/opt/homebrew/bin/node</string>
<string>/Users/macstudio3/Projects/dw-photo-capture/sticker-watcher.js</string>
</array>
<key>WorkingDirectory</key>
<string>/Users/macstudio3/Projects/dw-photo-capture</string>
<key>EnvironmentVariables</key>
<dict>
<key>HOME</key><string>/Users/macstudio3</string>
<key>FM_PRINT_FLAG_FIELD</key><string>web_print_request</string>
<!-- Set these to YOUR existing FileMaker print-script names before activating: -->
<key>FM_PRINT_SCRIPT_SKU</key><string>PRINT SKU STICKER</string>
<key>FM_PRINT_SCRIPT_ADDR</key><string>PRINT ADDRESS STICKER</string>
<key>STICKER_POLL_MS</key><string>4000</string>
</dict>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>StandardOutPath</key>
<string>/Users/macstudio3/Projects/dw-photo-capture/sticker-watcher.log</string>
<key>StandardErrorPath</key>
<string>/Users/macstudio3/Projects/dw-photo-capture/sticker-watcher.err.log</string>
</dict>
</plist>