Giter VIP home page Giter VIP logo

numilaunchbar's Introduction

Numi Launchbar

Launchbar action for awesome little calculator Numi. Inspired by Alfred extension.

Screencast

Features

  • Press spacebar and enter expression to be calculated with Numi
    • Numi Calculate can do convert currency, calculate scientific functions, deal with different scales and units, do time calculations, and much more. See Numi
  • Live Feedback Enabled: see the result as you type
  • Press enter to activate the application - no need to select Numi.app in LaunchBar
  • Automatically launches Numi in background if it is not running and displays the result once ready - no interruptions during input

Installation

First, make sure that you have selected Enable Alfred integration in Numi's preferences.

To get the most recent version, clone the repository and run the install script which removes an old version of Numi Calculate if there is one and installs the latest version:

git clone https://github.com/Rahlir/NumiLaunchbar.git 
cd NumiLaunchbar
./install.sh

The install script has an option -S that has to be used if your Numi application is downloaded through Setapp. Hence, for Setapp Numi versions, use:

cd NumiLaunchbar
./install.sh -S

The install script has to be run every time you pull updates from this repository.

Caveat

Right now, the action is unsigned. This means that you either have to sign it yourself or allow unsigned actions in Launchbar's index.

Changelog

Version 0.9

  • Live Feedback is enabled now. Numi Calculate is now smarter about opening Numi app in the background. Even with Live Feedback, Numi Calculate will seamlessly start the app in the background and deliver the result once ready.
  • Used icons from font-awesome bundle to have looks consistent with other LaunchBar actions.

Version 0.2:

  • When Numi is not running, the Numi Calculate action will start Numi in background
  • When Numi Calculate action is run without input (pressing return instead of space), Numi is shown in foreground and calculation can be done in a standard Numi window

Version 0.1 (alpha):

  • Simple interaction between LaunchBar and Numi
    • Press space to enter input when the action is selected in LaunchBar
    • Displays result and the whole expresion

numilaunchbar's People

Contributors

rahlir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

earwin

numilaunchbar's Issues

Request: copy result to clipboard

Is it possible to provide a way to copy the result to the clipboard? There's a Soulver plugin that does this. I took a look at the javascript in the action, and this is the core function call that copies to clipboard:

LaunchBar.setClipboardString(result);

Would be handy to be able to copy the result of a Numi calculation so that I can paste it elsewhere.

No live results?

Hi, just installed this action however I don't see any live feedback/results when entering text or hitting return. Also seems to sometimes lockup LB.

Is there something else I need to install?

numi

Only works with setapp version

Required version has setapp bundle identifier. I had to change it to com.dmitrynikolaev.numi to make it work.

Thanks for the extension BTW

An error was encountered executing the installation script

# Launch Script
./install.sh -S

# Script display content
Removing previous version:
rm: /Users/lil/Library/Application Support/LaunchBar/Actions/Numi Calculate.lbaction: No such file or directory

Installing new version:
cp: /Users/lil/Library/Application Support/LaunchBar/Actions: No such file or directory
cp: Numi Calculate.lbaction: unable to copy extended attributes to /Users/lil/Library/Application Support/LaunchBar/Actions: No such file or directory
Numi Calculate.lbaction -> /Users/lil/Library/Application Support/LaunchBar/Actions
cp: /Users/lil/Library/Application Support/LaunchBar/Actions/Contents: No such file or directory
cp: Numi Calculate.lbaction/Contents: unable to copy extended attributes to /Users/lil/Library/Application Support/LaunchBar/Actions/Contents: No such file or directory
Numi Calculate.lbaction/Contents -> /Users/lil/Library/Application Support/LaunchBar/Actions/Contents
cp: /Users/lil/Library/Application Support/LaunchBar/Actions/Contents/Scripts: No such file or directory
cp: Numi Calculate.lbaction/Contents/Scripts: unable to copy extended attributes to /Users/lil/Library/Application Support/LaunchBar/Actions/Contents/Scripts: No such file or directory
Numi Calculate.lbaction/Contents/Scripts -> /Users/lil/Library/Application Support/LaunchBar/Actions/Contents/Scripts
cp: /Users/lil/Library/Application Support/LaunchBar/Actions/Contents/Scripts/script.sh: No such file or directory
cp: /Users/lil/Library/Application Support/LaunchBar/Actions/Contents/Scripts/default.js: No such file or directory
cp: /Users/lil/Library/Application Support/LaunchBar/Actions/Contents/Info.plist: No such file or directory
sed: /Users/lil/Library/Application Support/Launchbar/Actions/Numi Calculate.lbaction/Contents/Info.plist: No such file or directory
  1. After installing Numi in setapp
  2. Enable Alfred integration in the Numi preferences
  3. After executing the install.sh script, the above error message appears

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.