Skip to content

A simple node library to add programs to your Windows desktop context menu.

Notifications You must be signed in to change notification settings

hawkins/desktop-context

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Desktop Context

A simple node library to add programs to your Windows desktop context menu.

In other words, this allows you to right click your desktop and select a program, which you've added via this script, to open.

Installation

npm install desktop-context or yarn add desktop-context

Example

Adding a program

const desktopContext = require('desktop-context');

desktopContext.addProgram(
  "Telegram",
  "C:\\Users\\Hawkins\\AppData\\Roaming\\Telegram Desktop\\Telegram.exe"
);

example

Removing a program

const desktopContext = require('desktop-context');

desktopContext.removeProgram("Telegram");

About

A simple node library to add programs to your Windows desktop context menu.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published