I also thought for a long time how to update the page, try the script config ini
Statistics: Posted by tit — 35 minutes ago
Code:
-- urls.luaurls = { "https://ohohohoho.com", "https://ohohohoho.com"}currentIndex = 1function Initialize() -- ohoendfunction Update() SKIN:Bang('!SetOption', 'MeasureWebView', 'URL', urls[currentIndex]) SKIN:Bang('!UpdateMeasure', 'MeasureWebView') SKIN:Bang('!Redraw') currentIndex = currentIndex + 1 if currentIndex > #urls then currentIndex = 1 endend
Code:
[Rainmeter]Update=60000 ; 60s[MeasureScript]Measure=ScriptScriptFile=urls.luaUpdateDivider=1[MeasureWebView]Measure=PluginPlugin=WebViewURL=https://ohohohoho.com[WebViewMeter]Meter=StringMeasureName=MeasureWebViewX=10Y=10W=800H=600
Statistics: Posted by tit — 35 minutes ago