Docs Snippets

Script snippets

The script's stdout becomes the pasted text.

curl -s https://api.ipify.org
tell application "Safari" to return URL of current tab of window 1
Application("Google Chrome").windows[0].activeTab.url();

Rules

  • The entire body is the script. Do not mix script and template text.
  • Tokens are substituted into the source before execution.
  • A non-zero exit pastes nothing, silently.
  • Always quote "{{clipboard}}" inside shell scripts to avoid injection.

Documentation for TypeFire 5.1.0. Updated 2026-09-15.