Can you add a simple calculator function?


#21

didn’t work for me either :frowning:


#22

Strange. It works on all my Windows 10 machines.


#23

Looking at your screenshots, you’re using an English version. Native versions (other language then English) might differ internally and might not perform the same as the English version. Cortana isn’t working for most native versions etc.

2nd of August the Redstone update is comming and might update things that didn’t work before.


#24

I think that regardless of this, listary needs its own built in calc and math plugin.
It’s a too important feature to leave out.


#25

You need to enable cortana to have that feature working in win10. I just checked, it wasn’t working for me, until I enabled cortana.

I have it disabled by default. I want to sell my data now, not give it for free :slight_smile:


#26

if you have Python installed, you can create a calculator custom command, as follows.

In listary options, keywords, custom, add a new command by pressing +,
Give it a keyword and title, I used
Keyword: Calc, and
Description: Runs the calculation in the python interpreter and outputs to screen. Also launches Python interpreter for further commands
Then enter path:
cmd
and Parameter:
/c echo from __future__ import division; __builtins__._ = {query}; print _ > %TEMP%\c.py && python -i %TEMP%\c.py

once you apply/save this, you can run a quick calculator as follows:
calc 1+1
or
calc (100-30) / 10

Once launched, you have the Python interpreter and can continue to calculate, including by referring to the previous calculation output, with underscore.

For example, from the previous example, you get:-

7.0
>>> 

By entering _ + 3 you get the answer:
10

edit: Updated to take into account that division shouldn’t give a rounded up or down integer


#27

i’d like to switch from launchy too, but i miss calc function. also dear author i don’t use win10


#28

Calculator has been added in Listary 6. There is a screenshot here: Listary 6 new launcher mode preview