Text message notifications

I managed to set up a way to get notifications from Tinderbox on due tasks to my phone (Android) using pushover (pushover.net, requires sign-up and one-time per-platform fee after 30-day trial), with ideas from the forum and help from Claude.

In case it’s helpful to anyone else, here’s the action code for a stamp.

if($DueDate>=date("today"))
{$Color="red";
runCommand("/Users/username/tbxmsg.sh '" + $Name + "'");
};

and the shell script is reproduced below, except for the actual key and token. The shell script is just saved into one’s home folder and then made executable in terminal via chmod +x

#!/bin/bash

name="$1"

# --- Configuration ---
# Your Pushover User Key
PUSHOVER_USER_KEY="key"

# Your Pushover Application API Token
PUSHOVER_API_TOKEN="token"

# --- Script ---

# Send the notification via Pushover
curl -s \
  --form-string "token=${PUSHOVER_API_TOKEN}" \
  --form-string "user=${PUSHOVER_USER_KEY}" \
  --form-string "message=${name}" \
  --form-string "title=Tinderbox Notification" \
  https://api.pushover.net/1/messages.json > /dev/null

I’m a beginner with Tinderbox, so I won’t be able to offer more than the above right now, but getting notices to different kinds of devices seems like it might be helpful to others for different types of Tinderbox projects, and the above approach works for me.

1 Like

This is great!

Users in the iOS world might be better served by using the notify() command, which posts a notice to the notification center. But it’s terrific to know you can also get this on Android.

1 Like

See notify(headlineStr[, detailsStr, deliveryDateTime ]).