Hi!
You'll find new update ver 1.16 in first post
-A bug fixed related to file and folder count error. Some times it didn't show all files in Expandable folder
-Now skin shows real Windows 10 icons in main folder
It is currently September 1st, 2024, 12:08 am
EXpandExplore
-
- Posts: 98
- Joined: August 31st, 2022, 10:00 pm
-
- Posts: 98
- Joined: August 31st, 2022, 10:00 pm
Re: EXpandExplore
Sorry!!!
I didn´t upload the correct version in last post, so if you just downloaded it you´ll have to download it again to make sure you have the correct last version 1.16
I didn´t upload the correct version in last post, so if you just downloaded it you´ll have to download it again to make sure you have the correct last version 1.16
-
- Rainmeter Sage
- Posts: 16485
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: EXpandExplore
Your two posts seem to coincide. I don't see a difference between the two files.Jaime Méndez wrote: ↑November 2nd, 2022, 7:09 pm Sorry!!!
I didn´t upload the correct version in last post, so if you just downloaded it you´ll have to download it again to make sure you have the correct last version 1.16
-
- Posts: 98
- Joined: August 31st, 2022, 10:00 pm
Re: EXpandExplore
I had to add a Measure in EXpandable.inc
Code: Select all
[MeasureTotalCount]
Measure=Calc
Formula=(MeasureFoldersCount + MeasureFileCount)
OnChangeAction=[!CommandMeasure "ScriptFactoryTiles" "Run((#Amount#-1))"][!Delay 0][!CommandMeasure "ScriptRefresher" "Run()"][!SetOption MeterHitbox Hidden 0]
-
- Posts: 98
- Joined: August 31st, 2022, 10:00 pm
Re: EXpandExplore
I would like to limit the number of ScriptFactoryTiles iterations to 100
Expandable.inc:
ExpandVariables.inc:
I tried this but didn't work. I set limitation up to 20 to easily see the results
How would you do it?
Expandable.inc:
Code: Select all
[MeasureFoldersCount]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FolderCount
OnChangeAction=[!CommandMeasure "ScriptFactoryTiles" "Run((#Amount#-1))"][!Delay 0][!CommandMeasure "ScriptRefresher" "Run()"][!SetOption MeterHitbox Hidden 0]
[MeasureFileCount]
Measure=Plugin
Plugin=FileView
Path=[MeasureFolder]
Type=FileCount
OnChangeAction=[!CommandMeasure "ScriptFactoryTiles" "Run((#Amount#-1))"][!Delay 0][!CommandMeasure "ScriptRefresher" "Run()"][!SetOption MeterHitbox Hidden 0]
[MeasureTotalCount]
Measure=Calc
Formula=(MeasureFoldersCount + MeasureFileCount)
[MeasureLimitIterations]
Measure=Calc
IfCondition=(MeasureTotalCount >= 20)
IfTrueAction=[!SetOption MeasureLimitIterations Formula "20"]
IfFalseAction=[!SetOption MeasureLimitIterations Formula "MeasureTotalCount"]
OnChangeAction=[!CommandMeasure "ScriptFactoryTiles" "Run((#Amount#-1))"][!Delay 0][!CommandMeasure "ScriptRefresher" "Run()"][!SetOption MeterHitbox Hidden 0]
Code: Select all
[Variables]
;Amount=([MeasureFileCount:]+[MeasureFoldersCount:]+1)
Amount=([MeasureLimitIterations:]+1)
How would you do it?
-
- Rainmeter Sage
- Posts: 16485
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: EXpandExplore
Instead of setting the Formula option of the [MeasureLimitIterations] measure through the !SetOption bangs of the IfTrueAction and IfFalseAction options of the measure itself, I probably better would directly add the following foumla to the [MeasureLimitIterations] measure: Formula=( Clamp ( MeasureTotalCount, 0, 20 )). If you do this, you can remove the IfCondition (and the appropriate IfTrueAction and IfFalseAction) option of the [MeasureLimitIterations] measure.
-
- Posts: 98
- Joined: August 31st, 2022, 10:00 pm
Re: EXpandExplore
It worked, thank you ![Thumbs Up :thumbup:](./images/smilies/ay.gif)
![Thumbs Up :thumbup:](./images/smilies/ay.gif)
-
- Rainmeter Sage
- Posts: 16485
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
-
- Posts: 98
- Joined: August 31st, 2022, 10:00 pm
Re: EXpandExplore
Ok, now it is possible to limit number of files to show. You'll find an option to enter a number of files to be shown in "EX" button.
There is a problem though. I had to set a [!Delay 5000] to deactivate config in "OnUnFocusAction" of [Rainmeter] and other [!Delay 5000] in "LeftMouseUpAction" of [FileLimit] measure
Menus\Expand.ini:
How could you fix this?
There is a problem though. I had to set a [!Delay 5000] to deactivate config in "OnUnFocusAction" of [Rainmeter] and other [!Delay 5000] in "LeftMouseUpAction" of [FileLimit] measure
Menus\Expand.ini:
Code: Select all
[Rainmeter]
Update=100
AccurateText=1
Group=FileExplorer
@include=#@#\Includes\Variables.inc
@include2=#@#\Includes\Menu.inc
OnUnFocusAction=[!Refresh "EXpandExplore"][!Delay 5000][!DeactivateConfig]
;----------------------------------------------------
; Meters
;----------------------------------------------------
[Background]
Meter=Image
MeterStyle=BackgroundStyle
H=(12 * (#FontSize# ))
[EName]
Meter=String
MeterStyle=TextStyle | MenuStyle
Y=5
Text=Choose aspect ratio
ToolTipText="How much does it expand horizontally?"
[ENum0]
Meter=Image
MeterStyle=ButtonStyle
[EName0]
Meter=String
MeterStyle=TextStyle | MenuStyle
Y=(#FontSize# * 2)
W=50
Text= 0
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor #HighlightColor#,150][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# SolidColor ""][!Redraw]
LeftMouseUpAction=[!WriteKeyValue Variables Expander 0 "#@#ExpandVariables.inc"][!DeactivateConfig]
[ENum1]
Meter=Image
MeterStyle=ButtonStyle
[EName1]
Meter=String
MeterStyle=TextStyle | MenuStyle
W=50
Text= 1
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor #HighlightColor#,150][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# SolidColor ""][!Redraw]
LeftMouseUpAction=[!WriteKeyValue Variables Expander 1 "#@#ExpandVariables.inc"][!DeactivateConfig]
[ENum2]
Meter=Image
MeterStyle=ButtonStyle
[EName2]
Meter=String
MeterStyle=TextStyle | MenuStyle
W=50
Text= 2
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor #HighlightColor#,150][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# SolidColor ""][!Redraw]
LeftMouseUpAction=[!WriteKeyValue Variables Expander 2 "#@#ExpandVariables.inc"][!DeactivateConfig]
[ENum3]
Meter=Image
MeterStyle=ButtonStyle
[EName3]
Meter=String
MeterStyle=TextStyle | MenuStyle
W=50
Text= 3
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor #HighlightColor#,150][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# SolidColor ""][!Redraw]
LeftMouseUpAction=[!WriteKeyValue Variables Expander 3 "#@#ExpandVariables.inc"][!DeactivateConfig]
[FileLimit]
Meter=String
MeterStyle=TextStyle
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor #HighlightColor#,150][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# SolidColor ""][!Redraw]
X=5
Y=(#FontSize#*8)
Text="Files to show?"
ToolTipText="Enter number of files to show."
ToolTipWidth=200
LeftMouseUpAction=[!CommandMeasure "MeasureFileLimit" "ExecuteBatch 1"][!Delay 5000][!DeactivateConfig]
[MeasureFileLimit]
Measure=PLUGIN
Plugin=InputText
FontColor=#FontColor#
StringEffect=Border
FontEffectColor=#FontOutline#
FontSize=#FontSize#
FontFace=#FontFace#
AntiAlias=1
DynamicVariables=1
X=5
Y=(#FontSize#*9.5)
W=50
H=(#FontSize#*1.5)
AntiAlias=1
UpdateDivider=-1
Command1=[!WriteKeyValue Variables ExLimit """$UserInput$""" "#@#ExpandVariables.inc"]
FocusDismiss=1
DefaultValue=59
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 16485
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: EXpandExplore
Jaime Méndez wrote: ↑November 3rd, 2022, 10:17 pm There is a problem though. I had to set a [!Delay 5000] to deactivate config in "OnUnFocusAction" of [Rainmeter] and other [!Delay 5000] in "LeftMouseUpAction" of [FileLimit] measure
I don't follow. What has to be fixed? What would you like to achieve?