Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

active-mouse

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

active-mouse

## Usage

  • 0.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Active Mouse

Usage

Server

.config.mjs

import {spawn} from 'child_process';

const CONTROL_MY_MONITOR_PATH =
  'C:\\Utilities\\controlmymonitor\\ControlMyMonitor.exe';

// Try out the configs with ControlMyMonitor.exe first.

const MONITOR = ''; // Could be serial number

const MONITOR_INPUT_DICT = {
  'vane-station': '15', // DisplayPort in my case
  'vane-mba': '27', // Type-C in my case
};

export default {
  type: 'server',
  name: 'vane-station',
  action(name) {
    spawn(CONTROL_MY_MONITOR_PATH, [
      '/SetValue',
      MONITOR,
      '60',
      MONITOR_INPUT_DICT[name],
    ]);
  },
};

Client

.config.mjs

export default {
  type: 'client',
  name: 'vane-mba',
  host: '192.168.1.10',
};

License

MIT License.

FAQs

Package last updated on 04 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc