Skip to content

Instantly share code, notes, and snippets.

@daguitosama
Created November 28, 2022 02:20
Show Gist options
  • Save daguitosama/b3c45a813d126c162dd1aa0d15d238a2 to your computer and use it in GitHub Desktop.
Save daguitosama/b3c45a813d126c162dd1aa0d15d238a2 to your computer and use it in GitHub Desktop.
A custom script command to pronounce expressions from the Raycast panel. It uses the macOS `say` command under the hood.
#!/bin/bash
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Sam tell me
# @raycast.mode silent
# Optional parameters:
# @raycast.icon 🗣
# @raycast.argument1 { "type": "text", "placeholder": "Expression" }
# Documentation:
# @raycast.description Make Samantha tell me things
# @raycast.author Dago
say "$1" -v Samantha --rate 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment