It is currently September 18th, 2021, 7:08 pm

[Suggestion] !RestartRainmeter bang

Report bugs with the Rainmeter application and suggest features.
User avatar
Cariboudjan
Posts: 189
Joined: May 12th, 2019, 8:55 am

[Suggestion] !RestartRainmeter bang

Post by Cariboudjan »

Would love a !RestartRainmeter bang. Some features/plugins require Rainmeter to be restarted, such as plugins that affect the DPI setting of the app, etc.

Currently I use a batch script, but it creates an annoying command prompt window. I was using a VBS script to execute batches without a window but it was triggering false positives with antivirus software.

If there is some other way to accomplish this, please let me know. :confused:
User avatar
Brian
Developer
Posts: 2254
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: [Suggestion] !RestartRainmeter bang

Post by Brian »

Here is a little program (written in C++) that properly closes Rainmeter and restarts it.
https://github.com/brianferguson/rainmeter-restart/releases

You should be able to run this on all versions of Rainmeter (since r163). This should work on both standard and portable version of Rainmeter. It also doesn't matter "where" you run it from.

I included a 32 bit and 64 bit version, but honestly, the 32 bit should be all that is needed.

-Brian

PS - This program is also signed with the Rainmeter certificate.