Skip to content

uqqu/menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

menu is a script which provide you many small auxiliary functionality for work with text and some more.

With this script you will get access to:

  • 15 transforming text functions of three categories
  • 5 easy data access functions
  • several other functions

All functions available from the keyboard in two or three taps.

As input can be used clipboard, current selected text or internal text input window. Output can be performed as text to input or to separate text message.

Function listing

Transforming text functions

  • Fix text functions
    • Normalize case and spaces
      Input: " — teST!?so ,i'M a test string ;and i’m too . "
      Output: "— Test!? So, I'm a test string; and I’m too."
    • Normalize case ("sentence" function)
      Input: " — teST!?so ,i'M a test string ;and i’m too . "
      Output: " — Test!?so ,i'm a test string;and I’m too . "
    • Invert case
    • To Capitalized Case
    • to lowercase
    • TO UPPERCASE
  • Latin <-> Cyrillic script transformations
    • Transliteration en <-> ru; ru -> en
    • qwerty <–> йцукен
    • qphyx_lat <–> qphyx_cyr
  • Calculate expression
    Input: "(1+2 * 3 ^4)/5**2"
    Output: "6.52"
  • Format time by template
    Input: "dd/MMMM (ddd)"
    Output: "12/September (Sun)"
  • Currency converter (currencies set by user in any currency submenu).
    Input: "100"
    Output: "84.45" (USD to EUR pair, for example)
  • Unknown currency converter
    Input: "৳100"
    Output: "100 Bangladeshi taka to usd: 1.18" (... to USD, for example)

Currency functions receive actual rates from getgeoapi. You need to get API key there and paste it to your environment variables with variable name GETGEOAPI.

Easy data access functions

  • User predefined values for fast-paste
  • Fast datetime paste functions
    • Standard date / time / datetime
    • Hexal date system (10 months, 6 weeks each, 6 days each + 1 additional "new-year week" per year)
    • Decimal time (10h, 100m each, 100s each. Second is 15.74% faster)
  • Exchange rate for user set currency pairs (works with getgeoapi)
  • Emoji paste
  • Current weather (Condition, temp., "feels like", wind speed)
    Output: "Clouds 21.34° (20.37°) 3.22m/s"

Weather function receive actual data from openweathermap. You need to get API key there and paste it to your environment variables with variable name OPENWEATHERMAP.
You also need to add environment variable CITY and specify the city you are interested in.

Other small functions

  • Auto music pause on long idle. "Idle duration" set by user, editable in two taps at any time
  • Minimalistic reminder
  • Text identity comparator

Installation

Windows only (^~^)

  1. (optional) Install AHK, if you want to use uncompiled version;
  2. Place menu.exe or its uncompiled counterpart – menu.ahk in a folder of your choice and run first time;
  3. Edit generated config.ini near the menu;
  4. (optional) Get API key to convert currency from getgeoapi and add it to environment variables with GETGEOAPI name;
  5. (optional) Get API key to weather data from openweathermap and add it to environment variables with OPENWEATHERMAP name;

FAQ

¯\_(ツ)_/¯

Releases

No releases published

Packages

No packages published