danielsgroves Posted April 1, 2013 Share Posted April 1, 2013 After getting tired of manually doing the maths for every box I was creating when converting a PSD to a web page I decided to make an extension to do this for me. The script is triggered using `rc` and requires two parameters. The first should be the with of the item you want to calculate the percentage width for and the other should be the width of the container. The default container width is 980px. For example, for a 300px wide div in a 900px wide container you would type `rc 300 900` at which point the script would return `33.33%`. Download from my site: http://danielgroves.net/notebook/2013/04/alfred-extensions/ Link to comment
samvlu Posted April 3, 2013 Share Posted April 3, 2013 Very cool! I'm looking forward to using this. Thanks Daniel! Link to comment
danielsgroves Posted April 4, 2013 Author Share Posted April 4, 2013 Very cool! I'm looking forward to using this. Thanks Daniel! Glad you like it, if you have any improvement ideas just shout and I'll see what I can do Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now