Jump to content

Ratio Calculator Workflow

Recommended Posts

I frequently need to calculate aspect ratios and dimensions when resizing images, so I wrote a ratio calculator plugin for Alfred to make the calculation as efficient as possible.




It works by reading a simplified ratio equation syntax in the form of a b c d where a, bc, and d represent the numerators and denominators in an a/b=c/d ratio equation. Any non-number character (like x or n or ? or whatever you like) can be used to represent the missing number.


E.g., to get the missing number in the ratio 2/4=?/10, you can type as 2 4 ? 10 and Alfred will return 5, ready to be copied to the clipboard.


Installation instructions and source on GitHub


Download Ratio Calculator.alfredworkflow

Edited by matthewmcvickar
Link to comment
  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...