Agree...jsmorley wrote:Note that as we move forward converting other plugins to measures, I will only be documenting the change(s) when the change hits the "release" version of Rainmeter. I won't be documenting this, and we shouldn't push it, during the "beta" stages, as that will indeed cause heartburn and confusion.
It is currently September 1st, 2024, 12:59 am
Some Plugins Converted to Measures
-
- Rainmeter Sage
- Posts: 16485
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: WebParser converted from Plugin to Measure
-
- Developer
- Posts: 22710
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
NowPlaying converted from Plugin to Measure
I have made similar changes to NowPlaying, which has also been converted from a plugin to a measure.
https://docs.rainmeter.net/manual/measures/nowplaying/
Existing links on the forums or other places will redirect to the correct page.
https://docs.rainmeter.net/manual/plugins/nowplaying/#NotAPlugin
https://docs.rainmeter.net/manual/measures/nowplaying/
Existing links on the forums or other places will redirect to the correct page.
https://docs.rainmeter.net/manual/plugins/nowplaying/#NotAPlugin
-
- Rainmeter Sage
- Posts: 16485
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: NowPlaying converted from Plugin to Measure
jsmorley wrote:I have made similar changes to NowPlaying, which has also been converted from a plugin to a measure.
https://docs.rainmeter.net/manual/measures/nowplaying/
Existing links on the forums or other places will redirect to the correct page.
https://docs.rainmeter.net/manual/plugins/nowplaying/#NotAPlugin
![17nodding :17nodding](./images/smilies/17nodding.gif)
![Good :17good](./images/smilies/17good.gif)
-
- Developer
- Posts: 22710
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
RecyleManager converted from Plugin to Measure
I have made similar changes to RecycleManager, which has also been converted from a plugin to a measure.
https://docs.rainmeter.net/manual/measures/recyclemanager
Existing links on the forums or other places will redirect to the correct page.
https://docs.rainmeter.net/manual/plugins/recyclemanager/#NotAPlugin
https://docs.rainmeter.net/manual/measures/recyclemanager
Existing links on the forums or other places will redirect to the correct page.
https://docs.rainmeter.net/manual/plugins/recyclemanager/#NotAPlugin
-
- Developer
- Posts: 22710
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
MediaKey Converted from Plugin to Measure
I have made similar changes to MediaKey, which has also been converted from a plugin to a measure.
https://docs.rainmeter.net/manual/measures/mediakey
Existing links on the forums or other places will redirect to the correct page.
https://docs.rainmeter.net/manual/plugins/mediakey/#NotAPlugin
https://docs.rainmeter.net/manual/measures/mediakey
Existing links on the forums or other places will redirect to the correct page.
https://docs.rainmeter.net/manual/plugins/mediakey/#NotAPlugin
-
- Developer
- Posts: 22710
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Some Plugins Converted to Measures
And that's all of them for now.
Last reminder... I hope we don't make too big a deal out of this on existing skins when we are helping on the forums.
While the correct syntax is now Measure=Whatever, and I'm fine with encouraging that, particularly with new skins, make no mistake. The old syntax works equally well, and there is no difference in performance or functionality. The change that actually improves performance is entirely internal. Converting these plugins to measures does have a small but real improvement to efficiency. However, the efficiency is gained by how the measure is "executed" in code, not in how it is "defined" in the skin.
In effect, there is a routine that reads the skin .ini when it is loaded or refreshed, and it is basically saying:
If (Measure = "WebParser") or (Measure = "Plugin" and Plugin = "WebParser") then call the routines that execute the WebParser measure. The same measure routines are executed no matter which syntax you use.
Still, it is a good thing to have what folks use comport with what is in the documentation, that has to avoid confusion. So by all means let's gently encourage the new use.
P.S. RecycleManager has been converted from a plugin to a measure in recent versions of Rainmeter.
https://docs.rainmeter.net/manual/measures/recyclemanager/#NotAPlugin
Last reminder... I hope we don't make too big a deal out of this on existing skins when we are helping on the forums.
While the correct syntax is now Measure=Whatever, and I'm fine with encouraging that, particularly with new skins, make no mistake. The old syntax works equally well, and there is no difference in performance or functionality. The change that actually improves performance is entirely internal. Converting these plugins to measures does have a small but real improvement to efficiency. However, the efficiency is gained by how the measure is "executed" in code, not in how it is "defined" in the skin.
In effect, there is a routine that reads the skin .ini when it is loaded or refreshed, and it is basically saying:
If (Measure = "WebParser") or (Measure = "Plugin" and Plugin = "WebParser") then call the routines that execute the WebParser measure. The same measure routines are executed no matter which syntax you use.
Still, it is a good thing to have what folks use comport with what is in the documentation, that has to avoid confusion. So by all means let's gently encourage the new use.
P.S. RecycleManager has been converted from a plugin to a measure in recent versions of Rainmeter.
https://docs.rainmeter.net/manual/measures/recyclemanager/#NotAPlugin
-
- Posts: 858
- Joined: August 22nd, 2016, 11:32 pm
- Location: Surrey, B.C., Canada
Re: Some Plugins Converted to Measures
Good job guys, I just tried this and it's not hard to change an existing skin while removing 1 line of code per Measure so in total I removed 6 lines on a simple skin. ![Good :17good](./images/smilies/17good.gif)
![Good :17good](./images/smilies/17good.gif)
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
Deviant Art Page
-
- Developer
- Posts: 22710
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Some Plugins Converted to Measures
If you use Notepad++, there is a way to do it in one go...CyberTheWorm wrote:Good job guys, I just tried this and it's not hard to change an existing skin while removing 1 line of code per Measure so in total I removed 6 lines on a simple skin.
Under "Search", select "Find in files"
Find what: Measure=Plugin\r\nPlugin=WebParser\r\n
Replace with: Measure=WebParser\r\n
Filters: *.ini
Directory: C:\Users\YourName\Documents\Rainmeter\Skins
Select "In all sub-folders" and "Extended"
Click "Replace in Files"
Result:
Yes, I have a lot of skins...
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 5495
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Some Plugins Converted to Measures
![Denial :17denial](./images/smilies/17denial.gif)
![Angry :17angry](./images/smilies/17angry.gif)
![Drums :17drums](./images/smilies/17drums.gif)
![17nodding :17nodding](./images/smilies/17nodding.gif)
![Drums :17drums](./images/smilies/17drums.gif)
![Angry :17angry](./images/smilies/17angry.gif)
![Denial :17denial](./images/smilies/17denial.gif)
I think I need to take some time and clean up my skins folder ...
![Big Grin :D](./images/smilies/ag.gif)
You do not have the required permissions to view the files attached to this post.
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Developer
- Posts: 22710
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Some Plugins Converted to Measures
LOL... You win!eclectic-tech wrote: I think I need to take some time and clean up my skins folder ...