Message Passing Plugin - Works with Wallpaper Engine
Posted: May 30th, 2017, 4:05 pm
So I just finished up my latest plugin for Rainmeter, Message Passing. The goal of this plugin is primarily to allow for back and forth communication with Wallpaper Engine but I named it more broadly since it could be used for other things.
It has full support for multiple websocket addresses and multiple connections on each address. You can run commands on websocket Open, Close, and Message (Can even use dynamic variables). Get clients connected to each measure from its decimal value.
The options for the Measure are:
Name - Name of the service to run, adds / to the beginning if you do not.
I recommend using unique names if you only want your info. So a name of tjMusicInfo would get a url of ws://127.0.0.1:58932/tjMusicInfo in the program you are communicating to
Port - Port to use, is ignored right now and is always 58932
OnOpen - A rainmeter bang to execute when connection is first made
Note: Will not fire if connection already existed and was opened when your websocket is created
OnClose - A rainmeter bang to execute on connection being closed Note: Only fires with the connection is closed, does not fire if it never opens
OnMessage - A rainmeter bang to execute whenever a message is received with your service name
Note: Add $Message$ to the command to have it be replaced with the message contents
You can always find the latest release and keep up to date with the plugin here: https://github.com/tjhrulz/MessagePassingForRainmeter
It has full support for multiple websocket addresses and multiple connections on each address. You can run commands on websocket Open, Close, and Message (Can even use dynamic variables). Get clients connected to each measure from its decimal value.
The options for the Measure are:
Name - Name of the service to run, adds / to the beginning if you do not.
I recommend using unique names if you only want your info. So a name of tjMusicInfo would get a url of ws://127.0.0.1:58932/tjMusicInfo in the program you are communicating to
Port - Port to use, is ignored right now and is always 58932
OnOpen - A rainmeter bang to execute when connection is first made
Note: Will not fire if connection already existed and was opened when your websocket is created
OnClose - A rainmeter bang to execute on connection being closed Note: Only fires with the connection is closed, does not fire if it never opens
OnMessage - A rainmeter bang to execute whenever a message is received with your service name
Note: Add $Message$ to the command to have it be replaced with the message contents
You can always find the latest release and keep up to date with the plugin here: https://github.com/tjhrulz/MessagePassingForRainmeter