Skip to content

๐Ÿ” Activate the Windows lock screen (Win+L), or check if Windows is currently locked.

License

Notifications You must be signed in to change notification settings

Aldaviva/lock-your-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

lock-your-windows

Activate the Windows lock screen (Win+L), or check if Windows is currently locked.

Requirements

Installation

npm install --save lock-your-windows

Usage

var lockYourWindows = require('lock-your-windows');

var isLocked = lockYourWindows.isLocked();
console.log("Windows is currently "+(isLocked ? "locked" : "unlocked"));

console.log("Locking Windows...");
lockYourWindows.lock();

Developing

Recompile the native C++ addon

node-gyp rebuild

Run tests

npm test

About

๐Ÿ” Activate the Windows lock screen (Win+L), or check if Windows is currently locked.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published