mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
New !bang
!RainmeterRefreshApp Does a full refresh of all skins and reloads the list of configs and Rainmeter.ini settings. This is the same as "Refresh All" from the system tray context menu. Is not the same as !RainmeterRefresh [config | *] as it can be used to make Rainmeter "see" a new folder added to \Skins by the user or a process. Note: This was added mostly to better support RainBrowser when a user adds a downloaded config while using RainBrowser.
This commit is contained in:
parent
794d3c8c77
commit
15353ea701
@ -1487,6 +1487,14 @@ BOOL CRainmeter::ExecuteBang(const std::wstring& bang, const std::wstring& arg,
|
||||
{
|
||||
BangWithArgs(BANG_REFRESH, arg.c_str(), 0);
|
||||
}
|
||||
else if (wcsicmp(bang.c_str(), L"!RainmeterRefreshApp") == 0)
|
||||
{
|
||||
// Read skins and settings
|
||||
Rainmeter->ReloadSettings();
|
||||
// Refresh all
|
||||
RainmeterRefresh(m_TrayWindow->GetWindow(), NULL);
|
||||
|
||||
}
|
||||
else if (wcsicmp(bang.c_str(), L"!RainmeterRedraw") == 0)
|
||||
{
|
||||
BangWithArgs(BANG_REDRAW, arg.c_str(), 0);
|
||||
|
Loading…
Reference in New Issue
Block a user