Logo Text Blaze
  • Products
    • Text Blaze
      Snippets and templates
    • AI Blaze
      AI writing and editing
    • Data Blaze
      Tables and sheets
    Downloads
    • Add to Chrome
    • Windows app
    • MacOS app
  • By function
    • Support & operations
    • Sales
    • Healthcare
    • Education
    • Recruiting
    • Marketing
    Business
    • For teams
  • Resources
    • Documentation
    • Community forum
    • Gallery
    • Contact us
  • Pricing
Documentation
No search results
Text Blaze
Loading...
Data Blaze
Loading...
Community Forums
Loading...
Add to Chrome –  It's Free! Go to Dashboard ›
Docs > Command packs
  • Guides
    • Quick Start
    • Sharing Snippet Folders
    • Dynamic Commands
    • Date and Time
    • Autopilot
    • Forms
    • Formulas
    • Rules & Validation
    • Tables in Snippets
    • Connect Other Apps
    • Tidying Whitespace
    • Lists
    • Read Data from Websites
    • Teams and Organizations
  • Tutorial Videos
  • Gallery
  • Frequently Asked Questions
  • Formula Reference
  • Dynamic Commands
    • Using Dynamic Commands
    • {=} (Formula Command)
    • {button}
    • {click}
    • {clipboard}
    • {cursor}
    • {error}
    • {formdate}
    • {formmenu}
    • {formparagraph}
    • {formtext}
    • {formtoggle}
    • {if}
    • {import}
    • {key}
    • {link}
    • {note}
    • {repeat}
    • {run}
    • {site}
    • {snippet}
    • {time}
    • {user}
    • {wait}
  • Connected Snippets
    • Connected Snippets Overview
    • {image}
    • {urlload}
    • {urlsend}
    • {dbselect}
    • {dbinsert}
    • {dbupdate}
    • {dbdelete}
  • Command Packs
    • Capitalize
    • Gmail
    • LinkedIn
    • Randomize

What's on this Page

  • Table of Contents
    • {random-text}
    • {random-coinflip}
    • {random-number}
Command packs

Randomize

Summary: Randomly show a phrase or select random values.

Table of Contents

  1. {random-text} — Randomly selects one of a couple different phrases.
  2. {random-coinflip} — Simulates flipping a coin.
  3. {random-number} — Generates a random number within a specified range.

{random-text}

Randomly selects one of a couple different phrases. Can be used to randomize a greeting or another part of a snippet.

Settings

SettingRequiredTypeDescription
positionalyesOrdered ListThe phrases you want to randomize between.

Example Usage

If you're replying to an email you can randomize your greeting.

Random greeting in email
{random-text: Hi, Hello, Howdy, Hey there} John



{random-coinflip}

Simulates flipping a coin. Returns yes 50% of the time, and no 50% of the time (this probability is configurable).

Settings

SettingRequiredTypeDescription
probabilitynoNumberThe percentage probability of a yes, defaults to 50%.

Example Usage

Use this command if you'd like to randomly show and hide content in combination with the {if} command.

Randomly show and hide content
{show={random-coinflip}}
{if: show}
Randomly show some content.
{else}
Do not show.
{endif}



{random-number}

Generates a random number within a specified range.

Settings

SettingRequiredTypeDescription
minyesNumberThe minimum value for the random number.
maxyesNumberThe maximum value for the random number.
roundednoyes/noWhether the random number should be rounded to the nearest whole number.

About

Plans and Pricing
Sharing Snippets
Text Blaze for Business
Forms
Autopilot
Dynamic Commands
Command Packs
Text Blaze for Windows
Text Blaze for macOS

Support

Get Started with Text Blaze
Contact Us
Documentation
Community Forum
Blog
Gallery
Engineering Blog

Solution for

Business
Customer Support
Recruiters
Education
Healthcare
Sales
Property Managers
AI

Other

Privacy Policy
Terms of Service
Open Source Licenses
Affiliate
© Blaze Today Inc