Export to GitHub

rainmeter - issue #47

Change default "Edit Skin..." Application


Posted on Apr 27, 2009 by Helpful Monkey

It would be useful if there was some sort of option to change the default "Edit Skin..." application from Notepad.exe to an application of the users choice. Personally I use Notepad++ to edit my skins, but it's a pain to have to select the file to edit from the "Skins" folder.

Comment #1

Posted on Apr 27, 2009 by Grumpy Bird

tjmarkham3;

I utilize Notpad++ as well. I am using Vista. If you are using XP Pro I know that the following solution is available as well.

My current suggestion would be to make Notepad++ the default program for .ini files In Vista, this is easier than XP.

Comment #2

Posted on Apr 28, 2009 by Helpful Monkey

I have already done that, but Notepad.exe still opens every time I select "Edit Skin...". Is it a problem with my machine?

Comment #3

Posted on Apr 28, 2009 by Grumpy Bird

What is your Operating System?

Comment #4

Posted on Apr 28, 2009 by Helpful Monkey

I'm running Windows XP Pro (SP3). When I double click on the meter configuration files, Notepad++ opens. But, when I click "Edit Skin..." Notepad.exe opens.

Comment #5

Posted on Apr 28, 2009 by Grumpy Bird

Interesting.

This must be something embedded into the Rainmeter DLL, and is outside my knowledge. I believe that I will have to bow out, and let one of the Dev folks here assist. In Vista, all I had to do was probably similar to what you have done, and I right clicked and in the Context menu, I click open as, I then opened the window and searched for Notepad++ and checked the button to make this the default for this type of file.

Vista also allows you to choose the program extension, and what program will open it specifically, so when I right click. I get notepad++.

I have not worked in an XP enviro in a while, If I can recall a way to offset this, I will let you know for sure.

Otherwise, the Dev folks will be around soon.

Apologies for not being able to assist you directly.

Comment #6

Posted on Apr 28, 2009 by Grumpy Bird

The following is note from the original tutorial by Rainy:

Excerpt: These must be put under [Rainmeter]-section (or under the different config sections):

ConfigEditor Defines the application that is used to edit the Rainmeter's configuration files. The default is Notepad.

More information may be gleaned at: http://www.ipi.fi/~rainy/Rainmeter/Manual.html

Otherwise as noted, the Dev folks will be around soon.

Comment #7

Posted on Apr 28, 2009 by Quick Rhino

Add the following line in the [Rainmeter] section of "Rainmeter.ini".

ConfigEditor="application path"

You needs to be cautious of define of a path name. For instance, if the application is in "C:\Program Files..."

(use short path name) ConfigEditor=C:\Progra~1\application\application.exe

or (with the path between two double quotations) ConfigEditor=""C:\Program Files\application\application.exe""

or (use relative path from Rainmeter.dll) ConfigEditor=..\application\application.exe

It will not work in the following definitions. ConfigEditor=C:\Program Files\application\application.exe ConfigEditor="C:\Program Files\application\application.exe"

Comment #8

Posted on Apr 28, 2009 by Grumpy Hippo

(No comment was entered for this change.)

Comment #9

Posted on Apr 28, 2009 by Grumpy Bird

Moving to Tips & Tricks at the forum.

Many thanks Sanada-San

Comment #10

Posted on Apr 28, 2009 by Helpful Monkey

Awesome, thanks for your help! Next time I'll try to read through the Manual more thoroughly.

Comment #11

Posted on Apr 29, 2009 by Quick Rhino

It is better to know, since these methods are applicable in other scenes.

Status: Done

Labels:
Type-Support Priority-Low