Skip to content

A ratio calculator Alfred workflow that takes a series of three numbers as input and outputs the missing number.

Notifications You must be signed in to change notification settings

matthewmcvickar/alfred-ratio-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alfred Ratio Calculator

Easily calculate the missing number in a ratio. Given the equation 2/4=?/10, type rr 2 4 x 10 and get 5!

Download it!

Installation

  1. Download the workflow.

  2. Double-click on the Ratio Calculator.alfredworkflow file you just downloaded to add it to Alfred.

  3. Click the Import button.

  4. The default trigger keyword is rr. Change this as you see fit. To do so, double-click the leftmost of the two blocks that represent the workflow—that is, the one that says 'Script Filter'—and change the 'Keyword' field to your preferred trigger.

Usage

  1. Launch Alfred.

  2. Start the ratio calculator by typing rr and a space.

  3. Type a ratio equation as a series of three numbers and one non-number to indicate the missing value.

    For example, to find the missing number in the equation 2/4=x/10, type:

    2 4 x 10
    

    You can use x, ?, or any non-number character to indicate the number you want to find.

  4. The result will show up in the feedback list below as you finish your equation. Hit Return to copy the result to your clipboard.


See Also

This Alfred workflow is based on my ratio calculator script for the command line, which functions identically but includes several options.

This tool is heavily inspired by Andrew Hedges’ Aspect Ratio Calculator.

About

A ratio calculator Alfred workflow that takes a series of three numbers as input and outputs the missing number.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages