It is currently March 28th, 2024, 11:12 am

Dock

Get help with creating, editing & fixing problems with skins
Post Reply
Bluue
Posts: 2
Joined: November 4th, 2010, 11:48 am

Dock

Post 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?
User avatar
JamesAC
Developer
Posts: 318
Joined: July 14th, 2009, 5:57 pm
Contact:

Re: Dock

Post by JamesAC »

The second example you have there should work if you remove the % from the start of the path
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Dock

Post 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.
Bluue
Posts: 2
Joined: November 4th, 2010, 11:48 am

Re: Dock

Post 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.
Post Reply