Jump to content

Solve Equation Workflow

Recommended Posts

In our code we tend to have lots of pixel tweaking resulting in lines like:


thing.x = 120+2+3+5-1


I wanted a fast way to solve it to:


thing.x = 129


So I made this lil' workflow. It uses the linux command "bc" (http://linux.about.com/od/commands/l/blcmdl1_bc.htm) so anything supported by that is supported by this. 


Select the text and press the hotkey (I have it to F13, but change to whatevs) and it replaces it with the answer. 




Link to comment

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...