But I couldn't get it to change the parent folder path, I tried a variable and !SetOption, but neither worked.
I want to avoid to set a new parent for each folder, this should be my final solution.
Here you've got my code lines:
Code: Select all
[HouseReveal]
Measure=Calc
Formula=1
IfCondition=(#MouseX# < 250) && (#MouseY# < 270)
IfTrueAction=[!ShowMeterGroup Games][!SetOption GamesPath Path "C:\Users\tom\Documents\GamesShortcuts"][!Redraw]
IfFalseAction=[!HideMeterGroup Games][!Redraw]
IfCondition2=(#MouseX# > 250) && (#MouseY# < 270)
IfTrueAction2=[!ShowMeterGroup Prog][!SetOption GamesPath Path "C:\Users\tom\Document\ProgShortcuts"][!Redraw]
IfFalseAction2=[!HideMeterGroup Prog][!Redraw]
IfCondition3=(#MouseX# > 250) && (#MouseY# > 270)
IfTrueAction3=[!ShowMeterGroup R][!SetOption GamesPath Path "C:\Users\tom\Documents\FilesShortcuts"][!Redraw]
IfFalseAction3=[!HideMeterGroup R][!Redraw]
IfCondition4=(#MouseX# < 250) && (#MouseY# > 270)
IfTrueAction4=[!ShowMeterGroup H][!SetOption GamesPath Path "C:\Users\tom\Documents\DriversShortcuts"][!Redraw]
IfFalseAction4=[!HideMeterGroup H][!Redraw]
DynamicVariables=1
;The Groups Refer To images which I cut out in this example
[GamesPath]
Measure=plugin
Plugin=FileView
Path="C:\Users\tom\Documents\GamesShortcuts"
Recursive=1
Count=7
HideExtensions=1
;Extensions=".exe"
DynamicVariables=1
ShowDotDot=0
[GamesName]
Measure=Plugin
Plugin=FileView
Path=[GamesPath]
Type=FileName
Group=Children
Index=#Index#
DynamicVariables=1
[GamesText]
meter=string
Meterstyle=StyleTimeText
MeasureName=GamesName
Fontsize=15
StringAling=Center
Group=Games
x=2400
y=400
W=1500
H=30
Text=%1
LeftMouseUpAction=[!CommandMeasure "GamesName" "Open"]