It is currently April 16th, 2024, 4:33 pm

Combining Functionality FreeDisk and FileView - Limit Output To Root Dir Only?

Get help with creating, editing & fixing problems with skins
User avatar
death.crafter
Rainmeter Sage
Posts: 1399
Joined: April 24th, 2021, 8:13 pm

Re: Combining Functionality FreeDisk and FileView - Limit Output To Root Dir Only?

Post by death.crafter »

CodeCode wrote: May 31st, 2021, 11:59 pm I'll lose that bet.
5 bucks says you're Leo? (prolly lose that bet too - #notpsychic)
So you are an virgo. Yeah you lose both. I am a virgo too. I too have that OCD thing lol. Just didn't know the term. :Whistle
from the Realm of Death
User avatar
CodeCode
Posts: 1365
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Combining Functionality FreeDisk and FileView - Limit Output To Root Dir Only?

Post by CodeCode »

death.crafter I seriously thought first; yep, another virgo. But I didn't think you'd see me if you were, so I know leos that say that about me all the time, so transposed that onto your astrology-ism.

I checked the filefolder in my virtual machine, so nothing custom but what comes in the skin. I see that the ThisPC folder is not centered. I might share it with two versions - one with no custom icons, and the other to support custom icons (which with luck most use square ico files in the latter scenario). O.O o...c...d...losing hold...after 5 hours of mucking about...
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
User avatar
death.crafter
Rainmeter Sage
Posts: 1399
Joined: April 24th, 2021, 8:13 pm

Re: Combining Functionality FreeDisk and FileView - Limit Output To Root Dir Only?

Post by death.crafter »

CodeCode wrote: June 1st, 2021, 1:38 am death.crafter I seriously thought first; yep, another virgo. But I didn't think you'd see me if you were, so I know leos that say that about me all the time, so transposed that onto your astrology-ism.

I checked the filefolder in my virtual machine, so nothing custom but what comes in the skin. I see that the ThisPC folder is not centered. I might share it with two versions - one with no custom icons, and the other to support custom icons (which with luck most use square ico files in the latter scenario). O.O o...c...d...losing hold...after 5 hours of mucking about...
Actually you can do this with setoptiongroup bang as you did with info text.

Just this time pick custom icons instead of Measureame.

You can do this by using ImageName=[NameofImageMeasure] instead of MeasureName=NameofImageMeasure. Just add the setoption bang to the [mPath] measure(I think).

This way you can set the icons of root folder as custom icons. And if you want two versions, one with a custom icon and one with default just make an toggle.

Ex:

Code: Select all

[Variables]
SetOptionCustom=[!SetOptionGroup Info Text "blah blah"][!SetOptionGroup Icons ImageName "#@#Icons\CustomIcon1.png"][!UpdateMeterGroup Info][!Redraw]

SetOptionDefault=[!SetOptionGroup Info Text "blah blah"][!UpdateMeterGroup Info][!Redraw]

RootIconType=Custom

[mPath]
...
IfMatch=^$
IfMatchAction=[#SetOption[#RootIconType]]
DynamicVariables=1

Here you can easily create a toggle about how your icons look using 0 and 1 instead of Default and Custom.

Hope this is what you were talking about.
from the Realm of Death
User avatar
CodeCode
Posts: 1365
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Combining Functionality FreeDisk and FileView - Limit Output To Root Dir Only?

Post by CodeCode »

Yeah, making a toggle did come to mind, but thinking of the end user, the less editing the better. So the idea of two entire variants came to mind.

But seeing your take here is making my spidey senses trigger, and making a combined skin sounds like fun (dare I say 'fun'?).

The thing though is that my drive icons were all persistent throughout windows, that is to say set by using regedit (or Autorun.inf). I did not even think to give the skin a placeholder for icons set by image meter integral to the skin only... hmmm. (o...c...d...) :rofl:

The thread lives again!
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
User avatar
CodeCode
Posts: 1365
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Combining Functionality FreeDisk and FileView - Limit Output To Root Dir Only?

Post by CodeCode »

death.crafter wrote: May 31st, 2021, 9:44 pm If only you could pack that thing up with all the fonts used.
FolderBrowserCC_xx.xxx.rmskin
(so far, so good)
You do not have the required permissions to view the files attached to this post.
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
User avatar
death.crafter
Rainmeter Sage
Posts: 1399
Joined: April 24th, 2021, 8:13 pm

Re: Combining Functionality FreeDisk and FileView - Limit Output To Root Dir Only?

Post by death.crafter »

CodeCode wrote: June 2nd, 2021, 8:32 am FolderBrowserCC_xx.xxx.rmskin

(so far, so good)
Screenshot 2021-06-02 140930.png
😔
You do not have the required permissions to view the files attached to this post.
from the Realm of Death
User avatar
CodeCode
Posts: 1365
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Combining Functionality FreeDisk and FileView - Limit Output To Root Dir Only?

Post by CodeCode »

Yep I noticed that, that was not meant to be the final working copy, but a beta version. When we zixed the dynamic window since that anomaly has persisted, but I haven't tried to find what causes it as yet.
If you open the list over a light screen there is another anomaly that produces a dark black shadow following a mouseover that hangs about until the skin auto refreshes when minimised. Its hard to see but there just the same.
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
User avatar
death.crafter
Rainmeter Sage
Posts: 1399
Joined: April 24th, 2021, 8:13 pm

Re: Combining Functionality FreeDisk and FileView - Limit Output To Root Dir Only?

Post by death.crafter »

CodeCode wrote: June 2nd, 2021, 8:45 am Yep I noticed that, that was not meant to be the final working copy, but a beta version. When we zixed the dynamic window since that anomaly has persisted, but I haven't tried to find what causes it as yet.
If you open the list over a light screen there is another anomaly that produces a dark black shadow following a mouseover that hangs about until the skin auto refreshes when minimised. Its hard to see but there just the same.

Code: Select all

[1]
Meter=Image
Y=73
MeterStyle=HighlightStyle

[Index1]
Meter=String
MeterStyle=SelectStyle
Hidden=0

[Index1Icon]
Meter=Image
MeasureName=mIndex1Icon
y=80
MeterStyle=IconStyle

[Index1Info]
Meter=String
MeasureName=mIndex1Name
MeterStyle=TextStyle | InfoStyle
w=300
clipstring=2

[2]
Meter=Image
MeterStyle=HighlightStyle

[Index2]
Meter=String
MeterStyle=SelectStyle
Hidden=(Clamp(2-([mFolderCount]+[mFileCount]+[#mPathBool]), 0,6))

[Index2Icon]
Meter=Image
MeasureName=mIndex2Icon
MeterStyle=IconStyle

[Index2Info]
Meter=String
MeasureName=mIndex2Name
MeterStyle=TextStyle | InfoStyle
w=300
clipstring=2

[3]
Meter=Image
MeterStyle=HighlightStyle

[Index3]
Meter=String
MeterStyle=SelectStyle
Hidden=(Clamp(3-([mFolderCount]+[mFileCount]+[#mPathBool]), 0,6))

[Index3Icon]
Meter=Image
MeasureName=mIndex3Icon
MeterStyle=IconStyle

[Index3Info]
Meter=String
MeasureName=mIndex3Name
MeterStyle=TextStyle | InfoStyle
w=300
clipstring=2

[4]
Meter=Image
MeterStyle=HighlightStyle

[Index4]
Meter=String
MeterStyle=SelectStyle
Hidden=(Clamp(4-([mFolderCount]+[mFileCount]+[#mPathBool]), 0,6))

[Index4Icon]
Meter=Image
MeasureName=mIndex4Icon
MeterStyle=IconStyle

[Index4Info]
Meter=String
MeasureName=mIndex4Name
MeterStyle=TextStyle | InfoStyle
w=300
clipstring=2

[5]
Meter=Image
MeterStyle=HighlightStyle

[Index5]
Meter=String
MeterStyle=SelectStyle
Hidden=(Clamp(5-([mFolderCount]+[mFileCount]+[#mPathBool]), 0,6))

[Index5Icon]
Meter=Image
MeasureName=mIndex5Icon
MeterStyle=IconStyle

[Index5Info]
Meter=String
MeasureName=mIndex5Name
MeterStyle=TextStyle | InfoStyle
w=300
clipstring=2

[6]
Meter=Image
MeterStyle=HighlightStyle

[Index6]
Meter=String
MeterStyle=SelectStyle
Hidden=(Clamp(6-([mFolderCount]+[mFileCount]+[#mPathBool]), 0,6))

[Index6Icon]
Meter=Image
MeasureName=mIndex6Icon
MeterStyle=IconStyle

[Index6Info]
Meter=String
MeasureName=mIndex6Name
MeterStyle=TextStyle | InfoStyle
w=300
clipstring=2
Here you can increase the clamp max to 8 to increase the number of files but the formula for Hidden stays same. And you have to make the [!setvariable mPathBool 0/1] again, which balala removed before. I will give you the snippet here. You can merge yours and this one.

Code: Select all

[mPath]
Measure=Plugin
Plugin=FileView
Path=""
Count=6
IfMatch=^$
IfMatchAction=[!SetVariable mPathBool 0]
IfNotMatchAction=[!SetVariable mPathBool 1]
from the Realm of Death
User avatar
CodeCode
Posts: 1365
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Combining Functionality FreeDisk and FileView - Limit Output To Root Dir Only?

Post by CodeCode »

That does not seem to work.
Also there is a blank spot under Drive1, and drive2 is the only one that opens on double click, and in that folder the gap after the first line, and the highlight persists where there are no files.

Code: Select all

[1]
Meter=Image
Y=73
MeterStyle=HighlightStyle

[Index1]
Meter=Image
MeterStyle=SelectStyle
Hidden=0

[Index1Icon]
Meter=Image
MeasureName=mIndex1Icon
W=43
H=43
MeterStyle=IconStyle

[Index1Info]
Meter=String
MeasureName=mIndex1Name
MeasureName2=mDrive1String
w=390
MeterStyle=InfoStyle | TextStyleA
clipstring=1

[2]
Meter=Image
MeterStyle=HighlightStyle

[Index2]
Meter=Image
MeterStyle=HighlightStyle
Hidden=(Clamp(2-([mFolderCount]+[mFileCount]+[#mPathBool]), 0,6))

[Index2Icon]
Meter=Image
MeasureName=mIndex2Icon
W=43
H=43
MeterStyle=IconStyle

[Index2Info]
Meter=String
MeasureName=mIndex2Name
MeasureName2=mDrive2String
w=390
MeterStyle=InfoStyle | TextStyleA
clipstring=1

[3]
Meter=Image
MeterStyle=HighlightStyle

[Index3]
Meter=Image
MeterStyle=SelectStyle
Hidden=(Clamp(3-([mFolderCount]+[mFileCount]+[#mPathBool]), 0,6))

[Index3Icon]
Meter=Image
MeasureName=mIndex3Icon
W=43
H=43
MeterStyle=IconStyle

[Index3Info]
Meter=String
MeasureName=mIndex3Name
MeasureName2=mDrive3String
w=390
MeterStyle=InfoStyle | TextStyleA
clipstring=1

[4]
Meter=Image
MeterStyle=HighlightStyle

[Index4]
Meter=Image
MeterStyle=SelectStyle
Hidden=(Clamp(4-([mFolderCount]+[mFileCount]+[#mPathBool]), 0,6))

[Index4Icon]
Meter=Image
MeasureName=mIndex4Icon
W=43
H=43
MeterStyle=IconStyle

[Index4Info]
Meter=String
MeasureName=mIndex4Name
MeasureName2=mDrive4String
w=390
MeterStyle=InfoStyle | TextStyleA
clipstring=1

[5]
Meter=Image
MeterStyle=HighlightStyle

[Index5]
Meter=Image
MeterStyle=SelectStyle
Hidden=(Clamp(5-([mFolderCount]+[mFileCount]+[#mPathBool]), 0,6))

[Index5Icon]
Meter=Image
MeasureName=mIndex5Icon
W=43
H=43
MeterStyle=IconStyle

[Index5Info]
Meter=String
MeasureName=mIndex5Name
MeasureName2=mDrive5String
w=390
MeterStyle=InfoStyle | TextStyleA
clipstring=1

[6]
Meter=Image
MeterStyle=HighlightStyle

[Index6]
Meter=Image
MeterStyle=SelectStyle
Hidden=(Clamp(6-([mFolderCount]+[mFileCount]+[#mPathBool]), 0,6))

[Index6Icon]
Meter=Image
MeasureName=mIndex6Icon
W=43
H=43
MeterStyle=IconStyle

[Index6Info]
Meter=String
MeasureName=mIndex6Name
MeasureName2=mDrive6String
w=390
MeterStyle=InfoStyle | TextStyleA
clipstring=1
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
User avatar
CodeCode
Posts: 1365
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Combining Functionality FreeDisk and FileView - Limit Output To Root Dir Only?

Post by CodeCode »

I noticed that you put "SelectStyle" int the[Index#] Measures, but there is no provided such style.
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.