New
#81
Hi,
If you want to Replace Notepad2 with Notepad++ as Windows Default Text Editor.
With Kyhi's Notepad++ Plugin.
Add to NotePad++_XPE.Script v3
Code:[Interface] pCheckBox1="Replace Default Text Editor",1,3,11,202,99,32,True [Process] Run,%ScriptFile%,Add_Registry [Add_Registry] If,%pCheckBox1%,equal,true,begin RegHiveLoad,Tmp_Software,%RegSoftware% RegWrite,HKLM,0x1,"Tmp_Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe",Debugger,"#$q%PE_Programs%\%ProgramFolder%\%ProgramExe%#$q -notepadStyleCmdline -z" RegWrite,HKLM,0x2,Tmp_Software\Classes\txtfile\DefaultIcon,,%PE_Programs%\%ProgramFolder%\%ProgramExe% RegHiveUnload,Tmp_Software End