Do you take notes in your favorite text editor and have to copy math to a calculator every time you want to get the result?
Here is the solution: a multifunctional calculator inside any text editor.
Write text in any text field, press a hotkey, like ctrl+e
, and you have a result typed right there!
Evaluate anything from basic arithmetics, to full capabilities of WolframAlpha. Customization allows to fine-tune the Ultimate Evaluator for your purpose.
Basic is suitable for arithmetics (including simple factorials 7!
, but not (5+2)!
).
Works fine even if some unrelated text is found in the clipboard.
Advanced is suitable for most computations one does: evaluates logarithms, trigonometry, etc.
Wofram uses WoframAlpha's API for computation, which makes it by far the most powerful method. Takes more time than other methods and requires internet connection. You need to insert appid to get it working. (look instructions below)
(0.5+0.8-0.2)*2
completes with = 2.2
log2(4*4)!
completes with = 24
and even \int[0,1] x^2 dx
gives -> integral_0^1 x^2 dx = 1/3 approx. 0.33333
basic.demo.mov
advanced.demo.mov
wolfram.demo.mov
- Download executable for windows or mac
- Unzip the file (for mac also move the app to the Applications folder)
- Run the executable. Since I am an unidentified developer, MacOS will only let you run the file if you right-click it, then select open in drop-down menu, and finally click Open in the appeared window.
- It will probably ask a few permissions, which are necessary to simulate key presses and access clipboard
- Default hotkeys may not work, but you can always reassign them. (see instructions below)
- Put the cursor on the same line as the equation (or highlight the equation, depending on a hotkey you are going to press)
- Press the hotkey (default or the one you have set)
- No third step, it's as simple as that!
The app will start evaluating only after all shortcut keys are released. It is important not to hold any keys in the next moment.
The program will emulate ctrl+c
(cmd+c
) hotkey and will evaluate whatever appeared there.
Keep in mind that the current version does not restore previous clipboard value.
Click one of the 'set hotkey' buttons. In the next 3 seconds you have to press the desired hotkey (no more than 3 keys).
Make sure the hotkey does not conflict with other functions. Recommended for windows: ctrl+alt+e
, ctrl+alt+h
; for mac: f10
To decide this, open the editor and write something. Press ctrl(cmd)+c
and look what happens.
- Nothing seems to happen but your clipboard is updated with the whole line -> just press the main combination to evaluate (
ctrl+alt+e
). Examples: Notion, Sublime 3. - Nothing happens and the clipboard is not updated -> you will have to highlight the equation and press highlight shortcut (
ctrl+alt+h
) to evaluate. Examples: Google Docs - The whole line is highlighted and the clipboard is updated -> highlight shortcut (
ctrl+alt+h
)
To use it, you need to provide the application with the wolfram API appid. You can get 2000 requests per month for free. Appid has format XXXXXX-XXXXXXXXXX
The application, especially the advanced evaluation mode, is still under testing and may occasionally produce incorrect results. It relies on the user to provide it with valid inputs.
Basic eval mode ignore all letters in the input string and thus (currently) merges all equations into one, which can lead to unexpected behaviour.
I, Mikhail Vlasenko, hereby promise (and you can easily see it in the source code) that user data and clipboard data is not sent anywhere.
All feedback is highly appreciated. Except criticism of GUI appearance.
You can reach me via email, issues on github, or Telegram, if you know it