Orbit4L wrote: ↑May 1st, 2020, 7:32 am
Hi here
I come ask a bit of help here because long time ago i make my own Dock for games & launcher where all games box are displayed and i make in sort than my cursor and the wallpaper change when hovering the mouse over the game box with : [!SetWallpaper "#SteamWallp1-1#" Fill]
But since yesterday i have reinstall my steam wallpaper engine to make a try, see if i was able to call a wallpaper animated from rainmeter but without success^^ i have try to take a look on google but i only found one but i only found a person who asked this question and a person replied that apparently someone is working on creating a plug-in for wallpaper engine but nothing more
This is why i prefer to come ask directly here if someone would be how to do this ^^
Thanks in advance
Nice program, that Wallpaper Engine...
![Cool 8-)](./images/smilies/af.gif)
If only Rainmeter would have been able to display its skins "behind" everything else on the screen (including desktop icons, for example), then one could create any animated wallpaper that he liked directly in Rainmeter.
That being said, what you want is, from what I can tell, entirely possible. According to
this and
this,
as long as it's already running, Wallpaper Engine fully supports command line parameters as of
build 1.1.301 from 13 December 2019, like, say:
Code: Select all
"C:\Program Files (x86)\Steam\steamapps\common\wallpaper_engine\wallpaper32.exe" -control openWallpaper -file "C:\Program Files (x86)\Steam\steamapps\common\wallpaper_engine\projects\myprojects\myWallpaper\project.json"
So, given the fact that one can execute commands right from the bang itself and also that Rainmeter's
RunCommand plugin allows running stuff from the command line, the whole thing becomes quite easy to accomplish. So, assuming that
[GameBox] is the meter in your Dock used to "trigger" Wallpaper Engine on hover, you could do either of the following (replace paths or names according to your environment):
Code: Select all
[MeasureChangeWallpaper]
Measure=Plugin
Plugin=RunCommand
Program=""C:\Program Files (x86)\Steam\steamapps\common\wallpaper_engine\wallpaper32.exe""
Parameter=-control openWallpaper -file ""C:\Program Files (x86)\Steam\steamapps\common\wallpaper_engine\projects\myprojects\myWallpaper\project.json""
State=Hide
OutputType=ANSI
Timeout=5000
...
...
...
[GameBox]
Meter=...
...
MouseOverAction=[!CommandMeasure MeasureChangeWallpaper "Run"]
or
Code: Select all
[MeasureChangeWallpaper]
Measure=Plugin
Plugin=RunCommand
Parameter=""C:\Program Files (x86)\Steam\steamapps\common\wallpaper_engine\wallpaper32.exe"" -control openWallpaper -file ""C:\Program Files (x86)\Steam\steamapps\common\wallpaper_engine\projects\myprojects\myWallpaper\project.json""
State=Hide
OutputType=ANSI
Timeout=5000
...
...
...
[GameBox]
Meter=...
...
MouseOverAction=[!CommandMeasure MeasureChangeWallpaper "Run"]
or simply
Code: Select all
[GameBox]
Meter=...
...
MouseOverAction=["C:\Program Files (x86)\Steam\steamapps\common\wallpaper_engine\wallpaper32.exe" -control openWallpaper -file "C:\Program Files (x86)\Steam\steamapps\common\wallpaper_engine\projects\myprojects\myWallpaper\project.json"]
Note that the first two variants will run in a "hidden state" (i.e. without any
cmd.exe window showing up), while the latter, although much simpler than the other two, will display the
cmd.exe window (which could be undesirable, from a visual and practical point of view). Also, if things don't work the first time and you know you have the right Wallpaper Engine version to support command line options, some tweaking could be needed in placing the quotes (
") around commands or parameters that include spaces. Me, I think I set them up correctly, but you never know until you test the code yourself.