Finally Qalculate has been ported to Windows. Now we can do unit-aware calculations inline, in any document, with AutoHotkey, similar to Monster.ahk but with units.
Instructions:
- Install Qalculate
- Install AutoHotkey
- Add qalc.exe to your PATH. I use Rapid Environment Editor for this.
- Run qalc.ahk
To use it:
- Select some text, such as
1/(2*pi*10 kohm * 390 pF)
- Press Win+Q
- It pastes the output of the calculation, such as
1 / (2 * pi * (10 kiloohms) * (390 picofarads)) = approx. 40.80895977 kHz
.
Qalculate's interpretation of your input is also included, so you can verify it understood the input correctly.
- Should have separate keyboard shortcuts for including the original text or not? Like how Monster.ahk has Ctrl+Win+- for replacement, and Ctrl+Win+= for appending
=
and the result.
Put together a version of this which is compatible with AHK v2, with some tweaks to preserve clipboard content: