GChristensen / enso-portable

Portable Enso Launcher community edition
Other
167 stars 46 forks source link

Cannot enter some symbols in Enso command line #3

Closed thdoan closed 9 years ago

thdoan commented 9 years ago

I'm not able to enter some symbols on the Enso command line (e.g., ^, (, ), *), which is preventing me from using the 'calculate' command.

OS : Windows 7 Pro 32-bit

GChristensen commented 9 years ago

Hi, it's hardly possible in current implementation, since the keyboard API uses keyboard scan codes. I think that initial creators intended to use calculator command to calculate expressions typed somewhere else (the command works on a selection).

thdoan commented 9 years ago

I managed to add the ability to enter all standard symbols on the Enso command line (quasimode); you can find that commit here:

https://github.com/thdoan/enso-portable/commit/9922f6ac9dc98a1e71f1f7235369389fc2e6045d

Now I use Enso directly as my main calculator and currency converter without having to first open Notepad to enter the expression :-).

GChristensen commented 9 years ago

Thanks, I'll try to merge it soon.

thdoan commented 9 years ago

I just discovered that my code to add support for symbols in quasimode is not working in Windows 8.1 64-bit (I added this fix while working on Windows 7 32-bit, which is working fine). I will add a patch in my own fork when I get a chance to look into this issue.