GithubHelp home page GithubHelp logo

zhoule / alfred-process-killer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ngreenstein/alfred-process-killer

0.0 1.0 0.0 659 KB

An Alfred 2 workflow that makes it easy to kill misbehaving processes. It is, in essence, a way to easily find processes by name and kill them using `kill -9`.

Ruby 100.00%

alfred-process-killer's Introduction

#Description Kill Process is an Alfred 2 workflow that makes it easy to kill misbehaving processes. It is, in essence, a way to easily find processes by name and kill them using kill -9.

#Features

  • Autocompletes process names
  • Supports argument filtering (process:arg)
  • Learns and prioritizes processes you kill frequently
  • Shows icons when possible
  • Shows CPU usage
  • Shows process paths
  • Ignores case
  • Kills all processes with matching names on cmd+return
  • Supports Alleyoop updating.

screenshot: kill it screenshot: kill chr:type=pp

#Usage

  1. Type kill into Alfred followed by a space.
  2. Begin typing the name of the process you want to kill.
  3. When you see the process you want to kill, select it from the list as usual.
  4. Press return to kill the selected process.
    Alternatively, press cmd+return to kill all processes with the same name as the selected one.

To filter by argument, add a colon and the argument you want to target (or a snippet of it) after your processes name (see the second screenshot).

#Installation Download version 1.2. Open Kill Process.alfredworkflow and Alfred will walk you through the installation process. No configuration is necessary.

#Making Changes ##Editing the Script The ruby script that powers Kill Process is script.rb. For testing, add a value for theQuery in the first line. Be sure that the subsequent theQuery = "{query}" is commented out. This allows you to hard-code a search query instead of taking what the user has typed from Alfred. See the comments in the script for more info.

##Applying Changes to the Workflow

  1. Be sure that the first line in the script setting theQuery is commented out and that the second line (theQuery = "{query}") is not commented out.
  2. Open the Workflows tab of Alfred's Preferences.
  3. Select the Kill Process workflow on the left.
  4. Double click the first box ('kill Script Filter').
  5. Paste your script into the 'Script' box at the bottom.
  6. Click Save.

##Alleyoop Support If your updates are big enough to justify a new release, please update the Alleyoop support files for auto-updating.

  1. Update current-version.json with the new version number (a float) and a short description of the changes.
  2. Update update.json with the new version number.
  3. Copy the new update.json into the workflow's folder in Finder.

#License WTFPL, of course.

alfred-process-killer's People

Contributors

anson0370 avatar deiga avatar ngreenstein avatar

Watchers

 avatar

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.