pinkfoyd 1 Posted August 2, 2011 Hi all, I had search in the config file of scite but i can't find where we can modify the '-' function key IE, in scite when we press '-' (minus key) scite will put ';~ ' before the line to comment it, and shift+'-' write the - symbol I want to inverse this. Thanks you ! Share this post Link to post Share on other sites
sleepydvdr 8 Posted August 2, 2011 Run this script and it will modify your Scite configuration to work the way you want: #include <file.au3> $configFile = @ProgramFilesDir & "\AutoIt3\SciTE\SciTEGlobal.properties" If FileExists($configFile) Then $lines = _FileCountLines($configFile) For $i = 1 To $lines Step 1 $lineRead = FileReadLine($configFile, $i) If $lineRead = "KeypadMinus|IDM_BLOCK_COMMENT|\" Then _FileWriteToLine($configFile, $i, "Shift+KeypadMinus|IDM_BLOCK_COMMENT|\", 1) ExitLoop EndIf Next MsgBox(0, "", "You have just customized Scite") Else MsgBox(0, "", "Scite config file not found") EndIf #include <ByteMe.au3> Share this post Link to post Share on other sites