Kitutz / rainmeter

Automatically exported from code.google.com/p/rainmeter
0 stars 0 forks source link

Change default "Edit Skin..." Application #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by tjmarkh...@gmail.com on 27 Apr 2009 at 8:19

GoogleCodeExporter commented 8 years ago
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.

Original comment by evmckay on 27 Apr 2009 at 11:47

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

Original comment by tjmarkh...@gmail.com on 28 Apr 2009 at 12:38

GoogleCodeExporter commented 8 years ago
What is your Operating System?

Original comment by evmckay on 28 Apr 2009 at 1:29

GoogleCodeExporter commented 8 years ago
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.

Original comment by tjmarkh...@gmail.com on 28 Apr 2009 at 1:37

GoogleCodeExporter commented 8 years ago
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.

Original comment by evmckay on 28 Apr 2009 at 2:55

GoogleCodeExporter commented 8 years ago
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.

Original comment by evmckay on 28 Apr 2009 at 3:25

GoogleCodeExporter commented 8 years ago
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"

Original comment by kenz0.sa...@gmail.com on 28 Apr 2009 at 10:05

GoogleCodeExporter commented 8 years ago

Original comment by brian.to...@gmail.com on 28 Apr 2009 at 4:30

GoogleCodeExporter commented 8 years ago
Moving to Tips & Tricks at the forum.

Many thanks Sanada-San

Original comment by evmckay on 28 Apr 2009 at 5:37

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

Original comment by tjmarkh...@gmail.com on 28 Apr 2009 at 8:50

GoogleCodeExporter commented 8 years ago
It is better to know, since these methods are applicable in other scenes.

Original comment by kenz0.sa...@gmail.com on 29 Apr 2009 at 11:31