Page 1 of 1

Dock

Posted: November 4th, 2010, 11:53 am
by Bluue
I recently download a dock skin but the creater clearly didn't have the same OS as I do. To run files when you click on the proper icons he has:

Soft2=!execute ["%ProgramFiles%\Mozilla Thunderbird\thunderbird.exe"]

However since that's not the proper place on my computer it does nothing. I tired the proper location:

Soft2=!execute ["%C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe"]

as well as the one he gave and neither worked, can someone please help me find the proper files paths so i can customize all the buttons and not have a useless skin?

Re: Dock

Posted: November 4th, 2010, 11:57 am
by JamesAC
The second example you have there should work if you remove the % from the start of the path

Re: Dock

Posted: November 4th, 2010, 12:16 pm
by jsmorley
There is a good trick for getting the correct path to an executable or folder for an "!Execute" mouse action in Rainmeter.

Just go find the program you want to run or folder you want to open in Windows explorer.

Now hold down SHIFT and right click the folder or .exe

Click on "Copy as Path"

Paste the result inside the square brackets in a statement like this:

LeftMouseUpAction=!Execute []

So:

LeftMouseUpAction=!Execute ["C:\Program Files\Malwarebytes' Anti-Malware\mbam.exe"]

Or:

LeftMouseUpAction=!Execute ["C:\Users\Jeffrey Morley\Documents\Downloads"]

Takes all the guesswork and typos out of it.

Re: Dock

Posted: November 4th, 2010, 12:55 pm
by Bluue
Thank you very much, it worked like a charm but I think another problem I was having was not refreshing the skin. Regardless, it is now working.