Code: Select all
!Execute [%windir%\system32\notepad.exe "#FILEPATH#"]
I'd rather use Rainmeter's selected editor but I'm not sure that's a possibility so I'd like to know if anyone knows a way to do this.
Code: Select all
!Execute [%windir%\system32\notepad.exe "#FILEPATH#"]
https://docs.rainmeter.net/manual/variables/built-in-variables/#CONFIGEDITORMetalTxus wrote:I'm currently using...in context menus to open text files but Window's default editor is quite limitted on features.Code: Select all
!Execute [%windir%\system32\notepad.exe "#FILEPATH#"]
I'd rather use Rainmeter's selected editor but I'm not sure that's a possibility so I'd like to know if anyone knows a way to do this.
I've tried that but I can't seem to get it working. The editor is properly set up, as it opens when using the program's "Edit skin" context menu option. It doesn't trigger anything or throw any output to the log when used on a skin, though.jsmorley wrote:https://docs.rainmeter.net/manual/variables/built-in-variables/#CONFIGEDITOR
LeftMouseUpAction=["#CONFIGEDITOR#" "#FilePath#"]
P.S. don't use !Execute, it is deprecated and not needed.
https://docs.rainmeter.net/manual/bangs/#Deprecated
Code: Select all
[Rainmeter]
Update = -1
ContextTitle = Setup Games
ContextAction = ["#CONFIGEDITOR#" "#CURRENTPATH#\gamePaths.inc"]
ContextTitle2 = ----
ContextTitle3 = Refresh skin
ContextAction3 = !Refresh
ContextTitle4 = ----
ContextTitle5 = Skin settings
ContextAction5 = [!SkinMenu]
RightMouseUpAction = [!SkinCustomMenu]
Code: Select all
[Rainmeter]
Language=1033
Logging=0
ConfigEditor=Z:\Software\_development\Sublime Text 3\sublime_text.exe
UseD2D=1
DisableDragging=0
Well it all looks right. I don't know Sublime Text 3 really, are you quite sure thatMetalTxus wrote:Code: Select all
[Rainmeter] Language=1033 Logging=0 ConfigEditor=Z:\Software\_development\Sublime Text 3\sublime_text.exe UseD2D=1 DisableDragging=0
Code: Select all
[Rainmeter]
SkinPath=C:\Users\Jeffrey\Documents\Rainmeter\Skins\
;ConfigEditor=C:\Program Files (x86)\Notepad++\Notepad++.exe
ConfigEditor=C:\Program Files\Sublime Text 3\sublime_text.exe
DisableVersionCheck=0
Logging=0
Debug=0
DisableDragging=0
Language=1033
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
ContextTitle=Setup Games
ContextAction=["#CONFIGEDITOR#" "#CURRENTPATH##CURRENTFILE#"]
[MeterOne]
Meter=String
W=100
H=100
SolidColor=0,0,0,255
Yeah, I would check to see that Sublime Text 3 is not set to run "As administrator" or something.MetalTxus wrote:Here's my whole skin. The context menu logic is located at
"\PC\Games list\gamesListCore.inc"
I can't use #CURRENTPATH##CURRENTFILE# as the file to edit is not the same as the one triggering the event. I tried it anyway and it wasn't working either.
I also tried removing the extra backslash but nothing changed.
Edit: Everything works as it should replacing #CURRENTPATH# with notepad.exe so my guess remains that something's wrong with my editor's path.