It is currently September 8th, 2024, 12:07 am

FileView skin: ToggleConfig CurrentFile

Get help with creating, editing & fixing problems with skins
User avatar
sl23
Posts: 1600
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: FileView skin: ToggleConfig CurrentFile

Post by sl23 »

Found a couple of Gif apps, GifCam and ScreentoGif.
Took a little while to suss it out, but here's my first ever gif:
GIF 07-07-2024 20-48-14.gif
:D

I used GifCam as it is an easier to app to start with. Great program too!
You do not have the required permissions to view the files attached to this post.
57686174 77696C6C 6265 77696C6C 6265
User avatar
Yincognito
Rainmeter Sage
Posts: 8030
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: FileView skin: ToggleConfig CurrentFile

Post by Yincognito »

sl23 wrote: July 7th, 2024, 7:29 pm No it's not, I've been watching it in the About window. It changes with the path and works exactly how I wanted now, thanks to you, again! :thumbup:
Really?! :jawdrop
Well, if you say so, it's all good. I was under the impression that the value of [mPath] was always #SKINSPATH# (and subsequently, the empty string after the Substitute), since it's not a child of a FileView parent set to the current folder, but a parent itself set to a fixed folder.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
Yincognito
Rainmeter Sage
Posts: 8030
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: FileView skin: ToggleConfig CurrentFile

Post by Yincognito »

sl23 wrote: July 7th, 2024, 7:50 pm Found a couple of Gif apps, GifCam and ScreentoGif.
Took a little while to suss it out, but here's my first ever gif:
GIF 07-07-2024 20-48-14.gif
:D

I used GifCam as it is an easier to app to start with. Great program too!
I typically use an online site for this, after screen recording:
https://ezgif.com/video-to-gif
But yeah, it depends on preferences, there are many choices. ;-)
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
sl23
Posts: 1600
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: FileView skin: ToggleConfig CurrentFile

Post by sl23 »

Yincognito wrote: July 7th, 2024, 8:30 pm Really?! :jawdrop
Well, if you say so, it's all good. I was under the impression that the value of [mPath] was always #SKINSPATH# (and subsequently, the empty string after the Substitute), since it's not a child of a FileView parent set to the current folder, but a parent itself set to a fixed folder.
Yup! :D
SkinsPathChanges.gif
Maybe not the best way to do it, but it works:

Code: Select all

[Rainmeter]
Update=500
BackgroundMode=2
SolidColor=0,0,0,1
AccurateText=1
DynamicWindowSize=1
MouseActionCursor=0
OnRefreshAction=

[Metadata]
Name=Skin Launcher
Author=sl23
Information=Skin Launcher
Version=2024.6.27
License=CC BY 3.0

[Variables]
Aqua=0,255,255
AquaDark=#Aqua#,200
Blue=64,143,191
Green=128,255,0
Orange=255,170,0
OrangeDark=255,128,0
Red=255,100,100
Stroke=255,255,255,10
Trans=0,0,0,1
White=255,255,255,150
White20=255,255,255,20
White40=255,255,255,40
White60=255,255,255,60
Yellow=255,255,0

BgFill=0,0,0,10


ConfigPath=TEST
IconSize=Small
Path=#CURRENTPATH#Shortcuts
File=

========================================
; Background
========================================
[Bg]
Meter=Shape
Shape=Rectangle 0,0,270,48,5 | Fill Color 0,0,0,200 | StrokeWidth 2 | Stroke Color #White60#
Shape2=Rectangle 12,20,248,2,2 | Fill Color #White#

MouseOverAction=[!ShowMeterGroup Icon][!ShowMeterGroup Info][!ShowMeter Button][!UpdateMeterGroup *][!Redraw]
MouseLeaveAction=[!HideMeterGroup Icon][!HideMeterGroup Info][!HideMeter Button][!UpdateMeterGroup *][!Redraw]

MouseScrollUpAction=[!CommandMeasure mPath "IndexUp"][!SetOption Name Text "[mName]"][!UpdateMeasureGroup Children][!UpdateMeter *][!Redraw]
MouseScrollDownAction=[!CommandMeasure mPath "IndexDown"][!SetOption Name Text "[mName]"][!UpdateMeasureGroup Children][!UpdateMeter *][!Redraw]

X=1
Y=1

[BgIcons]
Meter=Shape
Shape=Rectangle 0,0,250,20,2 | Fill Color #Trans# | StrokeWidth 0
MouseOverAction=[!HideMeterGroup Info][!Redraw]
MouseLeaveAction=[!ShowMeterGroup Info][!Redraw]
Group=Button
X=11
Y=26

========================================
; STYLES
========================================
[sAllText]
FontFace=Trebuchet MS
StringStyle=Bold
StringAlign=CenterCenter
FontSize=9
FontColor=#White#
SolidColor=#Trans#
AntiAlias=1
UpdateDivider=-1
DynamicVariables=1
UpdateDivider=-1
Hidden=1
Group=Info

[sLeft]
StringAlign=LeftCenter

[sHighlight]
MouseOverAction=[!SetOption #CURRENTSECTION# FontColor "#Green#"] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# FontColor ""] [!UpdateMeter #CURRENTSECTION#] [!Redraw]

========================================
; NAME
========================================
[Name]
Meter=String
MeterStyle=sAllText
FontColor=#Yellow#
Text=
UpdateDivider=-1
Hidden=1
Group=Name
X=135
Y=12

========================================
; APP BUTTONS
========================================
[sIcon]
AntiAlias=1
ImageAlpha=65
Hidden=1
Group=Icon
DynamicVariables=1

LeftMouseUpAction=[!CommandMeasure m#CURRENTSECTION# "FollowPath"][!UpdateMeasure mPath][!UpdateMeasureGroup Children][!SetOption Name Text "[mName]"][!UpdateMeter *][!Redraw]
RightMouseUpAction=[!ActivateConfig [mPath]]
MiddleMouseUpAction=[!DeactivateConfig [mPath]]

MouseOverAction=[!SetOption #CURRENTSECTION# ImageAlpha "255"][!SetOption mName Index "#CURRENTSECTION#"][!UpdateMeasure mName][!SetOption Name Text "[mName]"][!ShowMeterGroup Name][!UpdateMeter Name][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# ImageAlpha ""][!SetOption mName Index ""][!UpdateMeasure mName][!SetOption Name Text ""][!HideMeterGroup Name][!UpdateMeter Name][!UpdateMeter *][!Redraw]
X=25r
Y=r

[mPath]
Measure=Plugin
Plugin=FileView
Path="#SkinsPath#"
ShowDotDot=0
HideExtensions=1
Count=10
Group=Children
Substitute="#SkinsPath#":""
IfMatch=^$
IfMatchAction=[!DisableMouseAction Button "LeftMouseUpAction"][!UpdateMeter Button]
IfNotMatchAction=[!EnableMouseAction Button "LeftMouseUpAction"][!UpdateMeter Button]

[mName]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=FileName
Index=#Index#
Group=Children
DynamicVariables=1

[m1]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=1
Group=Children

[m2]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=2
Group=Children

[m3]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=3
Group=Children

[m4]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=4
Group=Children

[m5]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=5
Group=Children

[m6]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=6
Group=Children

[m7]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=7
Group=Children

[m8]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=8
Group=Children

[m9]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=9
Group=Children

[m10]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=10
Group=Children

========================================
; INFO + BACK BUTTON
========================================
[mFolderCount]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=FolderCount
Group=Children

[mFileCount]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=FileCount
Group=Children

[Button]
Meter=String
MeterStyle=sAllText | sHighlight
FontFace=Segoe Fluent Icons
FontSize=12
Text=[\xE760]

LeftMouseUpAction=[!CommandMeasure mPath "PreviousFolder"][!UpdateMeasure mPath][!UpdateMeasureGroup Children][!UpdateMeter *][!Redraw]
MiddleMouseUpAction=[!Refresh]
MouseOverAction=[!SetOption #CURRENTSECTION# FontColor "#Yellow#"] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# FontColor ""] [!UpdateMeter #CURRENTSECTION#] [!Redraw]

ToolTipText="L - Back#CRLF#M - Refresh"
Hidden=1
Group=Button
X=16
Y=13

[PathTitle]
Meter=String
MeasureName=mPath
MeterStyle=sAllText | sLeft | sHighlight
Text=[mPath]
ToolTipIcon=Info
ToolTipTitle=Rainmeter\Skins\[mPath]
ToolTipText=Folders: [mFolderCount] / Files: [mFileCount]#CRLF#L - Open Folder
LeftMouseUpAction=#SkinsPath#[mPath]
X=15r
Y=-1r

========================================
; METERS
========================================
[1]
Meter=Image
MeasureName=m1
MeterStyle=sIcon
X=16
Y=17r

[2]
Meter=Image
MeasureName=m2
MeterStyle=sIcon

[3]
Meter=Image
MeasureName=m3
MeterStyle=sIcon

[4]
Meter=Image
MeasureName=m4
MeterStyle=sIcon

[5]
Meter=Image
MeasureName=m5
MeterStyle=sIcon

[6]
Meter=Image
MeasureName=m6
MeterStyle=sIcon

[7]
Meter=Image
MeasureName=m7
MeterStyle=sIcon

[8]
Meter=Image
MeasureName=m8
MeterStyle=sIcon

[9]
Meter=Image
MeasureName=m9
MeterStyle=sIcon

[10]
Meter=Image
MeasureName=m10
MeterStyle=sIcon
You do not have the required permissions to view the files attached to this post.
Last edited by sl23 on July 7th, 2024, 9:02 pm, edited 1 time in total.
57686174 77696C6C 6265 77696C6C 6265
User avatar
sl23
Posts: 1600
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: FileView skin: ToggleConfig CurrentFile

Post by sl23 »

Yincognito wrote: July 7th, 2024, 8:33 pm it depends on preferences, there are many choices. ;-)
I prefer apps to online stuff. ;-)
57686174 77696C6C 6265 77696C6C 6265
User avatar
Yincognito
Rainmeter Sage
Posts: 8030
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: FileView skin: ToggleConfig CurrentFile

Post by Yincognito »

sl23 wrote: July 7th, 2024, 9:00 pm I prefer apps to online stuff. ;-)
Me too. Just didn't want to add another app to the installed ones just for this thing (although, now that I think of it, I already have some that can do the conversion).
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
sl23
Posts: 1600
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: FileView skin: ToggleConfig CurrentFile

Post by sl23 »

Thanks for the thought :)
There are over 1000 portable apps available through SyMenu.
57686174 77696C6C 6265 77696C6C 6265