tjhrulz / messagepassingforrainmeter Goto Github PK
View Code? Open in Web Editor NEWA websocket plugin intended for message passing with Rainmeter and other programs such as Wallpaper Engine
License: GNU General Public License v2.0
A websocket plugin intended for message passing with Rainmeter and other programs such as Wallpaper Engine
License: GNU General Public License v2.0
Don't think it is really needed but I guess would be useful for making back and forth communication easier.
I don't think I am gonna implement this for the first release as in order to keep things nice I am going to want to have multiple servers running for this.
Would be useful for initializing data.
In the Example.ini included in MessagePassing_0.5.1.rmskin, the port number in the measure's options is as follows:
Port=37589
The plugin at this point does not allow changing ports, so the only working port, I believe, should be there so as to not confuse new users when they think the plugin isn't working:
Port=58932
This one is probably gonna stick around for a while.
If a websocket connection with the same Name option is already opened and a new rainmeter measure is made its OnOpen will not fire as the plugin is already open. I could add a check if it is already open and fire right away but then if dynamicVariables is on it will fire the OnOpen on every update cycle.
I might be able to fix this with some careful checking but given the low likelihood of that happening in cases where it would make a difference it is low priority.
For now just always use a different Name option for each websocket if you need OnOpen to always fire.
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.