Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1836

Community Plugins & Addons • Re: DriveList 2.0

$
0
0
This plugin is freakin' awesome man.

Made a skin that requires absolutely no input from the user.
It supports up to 10 drives and i might add a few more.
Made 10 different ini files, and whenever a drive is disconnected or reconnected the skin adapts.
And because the @include function cannot be dynamic i had to get creative with some measures.
A week later i think i finally landed on a solution.
hdds.gif
The skin auto switches between the ini files like this:

Code:

[Variables] NumberOfDrives=7[TotalDrives1] Measure=Plugin Plugin=DriveList.dll NumberType=Count DynamicVariables=1[TotalDrives2] Measure=calc Formula=TotalDrives1 Substitute="0":"#NumberOfDrives#" DynamicVariables=1 OnChangeAction=[!SetVariable NumberOfDrives [TotalDrives2]][!WriteKeyValue Variables NumberOfDrives "([TotalDrives2])"][!UpdateMeter *][!Redraw][NumberOfDrives] Measure=calc Formula=#NumberOfDrives# DynamicVariables=1 OnChangeAction=[!Refresh] @include1=#SKINSPATH#SKINNAME\HDDs\Configurations\#NumberOfDrives#.ini
I hope this helps someone.
Can I get the complete code. I want to have a look and it might help me in my project

Statistics: Posted by mrbnikhil — Yesterday, 8:34 pm



Viewing all articles
Browse latest Browse all 1836

Trending Articles