It is currently March 29th, 2024, 12:21 pm

Open Folder via launchers

Tips and Tricks from the Rainmeter Community
Kusmariini
Posts: 1
Joined: February 26th, 2010, 10:48 pm

Open Folder via launchers

Post by Kusmariini »

Hello, I am pretty new here, if this kind of post already exists here, I am sorry and please delete this...

So, as soon as I downloaded RainMeter I wanted to open my documents folder via the enigma launchers. I had no idea how, until I came up with this awesome idea. I am sure there are also better ones but here's one:

Open text editor -> Write

Code: Select all

%SystemRoot%\explorer.exe "C:\Users\UserName\Documents\"
Save as "open Folder.bat" in, let's say A:\ Drive

-

Then change this part in the Skins\Enigma\Resources\Variables\UserVariables.inc:

App5=Documents
App5Path=A:\open Folder.bat
App5Label=Documents

Save everything, Refresh RainMeter and it should work.

Thanks =)
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Open Folder via launchers

Post by jsmorley »

Kusmariini wrote:Hello, I am pretty new here, if this kind of post already exists here, I am sorry and please delete this...

So, as soon as I downloaded RainMeter I wanted to open my documents folder via the enigma launchers. I had no idea how, until I came up with this awesome idea. I am sure there are also better ones but here's one:

Open text editor -> Write

Code: Select all

%SystemRoot%\explorer.exe "C:\Users\UserName\Documents\"
Save as "open Folder.bat" in, let's say A:\ Drive

-

Then change this part in the Skins\Enigma\Resources\Variables\UserVariables.inc:

App5=Documents
App5Path=A:\open Folder.bat
App5Label=Documents

Save everything, Refresh RainMeter and it should work.

Thanks =)
That will work for sure. There is a second way, which doesn't require you to create a batch file (which will pop open an annoying command window for a second) and that is to use this:

LeftMouseDownAction=!execute [::{450D8FBA-AD25-11D0-98A8-0800361B1103}]

That will open My Documents in Explorer.

A reference to how this works for this and other folders is here:

http://rainmeter.net/cms/Tips-LaunchSpecialFolders
MattKing
Developer
Posts: 98
Joined: August 6th, 2009, 3:03 pm

Re: Open Folder via launchers

Post by MattKing »

Or you could use.

Code: Select all

!Execute ["explorer" "c:\SomeFolder"]
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Open Folder via launchers

Post by jsmorley »

MattKing wrote:Or you could use.

Code: Select all

!Execute ["explorer" "c:\SomeFolder"]
Doesn't work for me. Keeps saying "SomeFolder not found"
wasky1
Posts: 127
Joined: June 10th, 2009, 8:26 am

Re: Open Folder via launchers

Post by wasky1 »

[C:\Users\%UserName%\Documents]