I've decided to give this plugin a try but I've encountered an error. When trying to acess the RainmeterAPI from within JS I get an "Uncaught ReferenceError: RainmeterAPI is not defined" error. This even happens on the example skins. Has anyone encountered this?
Running Win11 23H2, so WebView comes preinstalled... maybe the plugin needs to be updated...
I can confirm the webpage reload workaround is working - with the issues already mentioned, that you have to do it each time the skin using it is loaded or refreshed (including when Rainmeter is restarted, obviously). A click on the webpage inside the skin to focus it, followed by a CTRL+R to reload that webpage allows using the RainmeterAPI object provided by this WebView plugin in the webpage's Javascript.Does it work for you if you right-click on the webpage inside the skin (not the skin itself!) and press "Reload"?
I'm facing the same problem and this strange workaround helps me. However, the problem seems to be back each time I restart Rainmeter or reload the particular skin.
Statistics: Posted by Yincognito — Yesterday, 6:48 pm — Replies 117 — Views 136655