It is currently June 3rd, 2024, 3:10 pm

Opening Specific folders

General topics related to Rainmeter.
mancandy
Posts: 1
Joined: March 28th, 2012, 2:21 am

Opening Specific folders

Post by mancandy »

Hi Guys,
Sorry if this has already been covered elsewhere,
Im looking for a skin which will quickly open a specific folder for me

The current layout i have is I have 500 folders in C:/0001-00500/
another 500 folders in C:/00501-01000/
and so forth.

all subfolders are labeled 00001 to 09999 and so forth.


Is there a skin where i can type in, for example "01011" and it'll open the folder
C:\01001-01500\01011 ??
User avatar
Brian
Developer
Posts: 2697
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Opening Specific folders

Post by Brian »

If you want to type it in, you will need to use the InputText plugin.

Here is a sample skin to get you started. Basically the skin uses the !Execute bang to open the folder that you type in the input box.

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1

[MeterBackground]
Meter=Image
SolidColor=0,0,0,255
W=250
H=25

[MeasureInputBox]
Measure=Plugin
Plugin=InputText.dll
SolidColor=0,0,255,255
FontColor=255,0,0,255
StringStyle=Italic
X=112
Y=5
H=15
W=125
DefaultValue="Type folder here."
FocusDismiss=1
Command1=!Execute ["C:\01001-01500\$UserInput$"]

[MeterTitle]
Meter=String
X=5
Y=5
FontColor=255,255,255,255
AntiAlias=1
Text="C:\01001-01500\"

[MeterInputBox]
Meter=String
X=R
Y=5
FontColor=255,255,255,255
AntiAlias=1
Text="Type folder here."
LeftMouseUpAction=!CommandMeasure "MeasureInputBox" "ExecuteBatch 1"
-Brian