Really? I thought everyone knew and used this...
P.S. By the way, this works for every programming / scripting language Notepad++ can "detect", including Lua (not sure about PowerShell, but it probably works too).
Really? I thought everyone knew and used this...
Got it. TYYincognito wrote: ↑July 29th, 2021, 11:00 pm LOL, ok, but I wasn't talking about the theme, but about syntax highlighting when you open an INI file and how that helps in commenting lines using CTRL + Q (since Notepad++ adjusts the comment mark to the "programming language" and all). Anyway, you do as you wish.
Code: Select all
Command1=[!SetVariable RDD1 "$UserInput$"][!WriteKeyValue Variables RDD1 "[MeasureInput1]" "#@#ST-TNG-E\Inks\ST-TNG-E.inc"][!Refresh][!Refresh "ST-TNG-E v3\Infrastructure\(Com) Majel\HDDs\Removable Disk" "Removable Disk.ini"]
Yincognito wrote: ↑July 29th, 2021, 11:00 pm commenting lines using CTRL + Q (since Notepad++ adjusts the comment mark to the "programming language" and all).
For me too!!!
... and the surprise gets bigger and bigger.
Yincognito wrote: ↑July 30th, 2021, 6:22 pm In that case, I'm glad I made life easier for you guys in that regard.
In fact the last !Refresh is a little bit incorrect. The !Refresh bang, if you add parameter, requires only one single parameter, not two. This means that you have to add the name of the config (in this case it is ST-TNG-E v3\Infrastructure\(Com) Majel\HDDs\Removable Disk), but no more parameters are required (so you don't have to add the name of the skin's .ini file, in this case Removable Disk.ini). However the bang does work, only because Rainmeter ignores any additional parameter.Thinkr8 wrote: ↑July 30th, 2021, 11:32 am The code needed is as follows;
Code: Select all
Command1=[!SetVariable RDD1 "$UserInput$"][!WriteKeyValue Variables RDD1 "[MeasureInput1]" "#@#ST-TNG-E\Inks\ST-TNG-E.inc"][!Refresh][!Refresh "ST-TNG-E v3\Infrastructure\(Com) Majel\HDDs\Removable Disk" "Removable Disk.ini"]
You're correct. But both ways work. I'll decide later how to precceed with that new info.balala wrote: ↑July 30th, 2021, 7:00 pm In fact the last !Refresh is a little bit incorrect. The !Refresh bang, if you add parameter, requires only one single parameter, not two. This means that you have to add the name of the config (in this case it is ST-TNG-E v3\Infrastructure\(Com) Majel\HDDs\Removable Disk), but no more parameters are required (so you don't have to add the name of the skin's .ini file, in this case Removable Disk.ini). However the bang does work, only because Rainmeter ignores any additional parameter.