Jump to content

Recommended Posts

I kept finding myself writing one-off scripts to feed my indecision and make a random choice. I wrote this workflow to automate my indecision. ;)

d6beb6.png

Download | Source

Some of these keywords are duplicates of existing workflows, but I wanted to have all my RNGs in one workflow. Feel free to disable any keywords you don’t want or need.

Oh, and you don’t have to worry about downloading a light or dark version of the workflow. The icons adjust automatically based on your theme as soon as you start using the workflow. See alfred-icons for more information about how this works.

Usage

choose

Enter a comma separated list of values and pick one at random.

5bbb94.png

roll

Roll a die. Enter the number of sides, and have a random number chosen.

rand

At its simplest, rand just an alias of roll. For example, rand 20 and roll 20 both do the same thing. However, you can define a lower and upper limit with rand.

Example usage:

  • rand 20
  • rand 10-20
  • rand 50 70
  • rand 100..1000
flip

Flip a coin: heads or tails.

should

Like flip, but with a yes or no response instead.

Edited by Clinton Strong

Share this post


Link to post

I was *just* about to start work on a random number generator for Alfred and then found your post :-). Excellent stuff - thanks.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...