hensm / node-ddcci Goto Github PK
View Code? Open in Web Editor NEWNodeJS DDC/CI library
NodeJS DDC/CI library
\\.\DISPLAYn
isn't sufficient. Should retain a constant value across refresh and hot swaps.
When I'm trying to get the monitor list while running my script as a Windows service I'm getting the following error:
`...\node_modules@hensm\ddcci\node_modules\bindings\bindings.js:88
throw e
^
Error: Failed to get number of physical monitors
at Object.Module._extensions..node (module.js:681:18)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at bindings (...\node_modules@hensm\ddcci\node_modules\bindings\bindings.js:81:44)
at Object. (...\node_modules@hensm\ddcci\index.js:3:34)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)`
Running the script manually works fine. Is there something extra I should do to be able to use it in a service? I'm using node-windows to create the service.
Your library has been super helpful for my monitor brightness tool, but I noticed your repository and npm package are out of sync. I didn't even see commit 2d3fb14 until I had to fix issues related to identifying monitors. That commit is critical to consistently identifying unique displays and should be on npm.
Thanks for making this library!
Probably WM_DISPLAYCHANGE
on Windows:
https://msdn.microsoft.com/en-us/library/dd145210(v=vs.85).aspx
Any plans on adding support for monitor volume controls?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.