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!
Double-click on the Ratio Calculator.alfredworkflow file you just downloaded to add it to Alfred.
Click the Import button.
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.
Start the ratio calculator by typing
rrand a space.
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
?, or any non-number character to indicate the number you want to find.
The result will show up in the feedback list below as you finish your equation. Hit Return to copy the result to your clipboard.
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.