Getting NotepadStarter works with installed notepad++

@lygstate lygstate released this Mar 15, 2015 · 2 commits to master since this release

With the installed version of notepad++, the plugins directory is at the
different place, so we need to handle this condition.

Downloads

This release can works with Notepad++ plugin manager.

@lygstate lygstate released this May 24, 2014 · 8 commits to master since this release

Introduction

This tool designed as a Notepad++ plugin by Yonggang Luo, when
it installed as a Notepad++ plugin or running NotepadStarter.exe in the Notepad++ app
directory, it's will automatically replace the system default notepad.exe application with
Notepad++ (Without need for removing anything from the windows system.). It's tested
under Windows 7, but Windows XP should also works.

This tool is based on the sources from npplauncher
by [Stepho,2005] and npplauncher at sf
by Mattes H. Mattesh,2013.

Design

NotepadStarter make use of a debugger feature in Windows the system will call a hooked
process with appended parameters to allow debugging the intended application.
This hook application will be call whenever the correct application was resolved.

notepad.exe receives always only one parameter which is now just deferred to Notepad++.
Because notepad.exe is a blocking executable, so NotepadStarter behaves blocking as notepad.exe.
Notepad++ have multiple tab page, so NotepadStarter will terminated when the corresponding
tab page closed or the corresponding Notepad++ application is closed.

Release

Use Plugin Manager to release NotepadStarter

Contributions

Comments, issues and contributions can be done at Github|NotepadStarter

NotepadStarter.exe parameters

  • NotepadStarter.exe :install-registry Install the NotepadStarter as notepad.exe Image File Execution
  • NotepadStarter.exe :install-replace Replace the notepad.exe under %WinDir%, %WinDir%\System32 and %WinDir%\SysWOW64 with NotepadStarter.exe
  • NotepadStarter.exe :uninstall Uninstall NotepadStarter
  • NotepadStarter.exe valid-windows-file-path Open the file valid-windows-file-path by notepad++ with blocking mode

Installation

Downloading the NotepadStarter-major.minor.maintenance.revision.zip from NotepadStarter releases
Extract the content into ${Notepad++InstallDir}\plugins\, running Notepad++, then it's will prompt a window how two installing the NotepadStarter.
There is two mode:

  • Yes: Install NotepadStarter as notepad.exe Image File Execution
  • No: Install NotepadStarter to replace the system notepad.exe completely(backup the original notepad.exe as notepad.NotepadStarter.exe)

Uninstallation

Running the script ${Notepad++InstallDir}\plugins\NotepadStarter\NotepadStarterUninstall.bat

Downloads

The release can install NotepadStarter in plugin properly.

@lygstate lygstate released this May 16, 2014 · 15 commits to master since this release

Introduction

This tool designed as a Notepad++ plugin by Yonggang Luo, when
it installed as a Notepad++ plugin or running NotepadStarter.exe in the Notepad++ app
directory, it's will automatically replace the system default notepad.exe application with
Notepad++ (Without need for removing anything from the windows system.). It's tested
under Windows 7, but Windows XP should also works.

This tool is based on the sources from npplauncher
by [Stepho,2005] and npplauncher at sf
by Mattes H. Mattesh,2013.

Design

NotepadStarter make use of a debugger feature in Windows the system will call a hooked
process with appended parameters to allow debugging the intended application.
This hook application will be call whenever the correct application was resolved.

notepad.exe receives always only one parameter which is now just deferred to Notepad++.
Because notepad.exe is a blocking executable, so NotepadStarter behaves blocking as notepad.exe.
Notepad++ have multiple tab page, so NotepadStarter will terminated when the corresponding
tab page closed or the corresponding Notepad++ application is closed.

Release

Use Plugin Manager to release NotepadStarter

Contributions

Comments, issues and contributions can be done at Github|NotepadStarter

Installation

Downloading the NotepadStarter-major.minor.maintenance.revision.zip from NotepadStarter releases
Extract the content into ${Notepad++InstallDir}\plugins\, running Notepad++, then it's will prompt a window how two installing the NotepadStarter.
There is two mode:

  • Yes: Install NotepadStarter as 'notepad.exe Image File Execution
  • No: Install NotepadStarter to replace the system notepad.exe completely(backup the original notepad.exe as notepad.NotepadStarter.exe)

Uninstallation

Running the script ${Notepad++InstallDir}\plugins\NotepadStarter\NotepadStarterUninstall.bat

Downloads

Modify NotepadStarter as a true notepad++ plugin.

@lygstate lygstate released this May 16, 2014 · 17 commits to master since this release

Once it extract into notepad++ plugins directory, and then start notepad++, it's will automatically installing the configurations.

Downloads

When the current folder doesn't contains Notepad++, skip to install

@lygstate lygstate released this May 16, 2014 · 28 commits to master since this release

When the current folder doesn't contains Notepad++, skip to install

Downloads

The replacer is working now. refinement the uninstaller.

@lygstate lygstate released this May 16, 2014 · 31 commits to master since this release

delete the new NotepadStarter.exe file first, then copy the original notepad.exe back.
Getting replacer works.
Use UTF8 without BOM encoding for bat files.
When there is no registry information, then we treat is as default actions.

Downloads

The first full release of the totally polished Notepad++ plugin to replace system default notepad.exe.
To install this, just extract the files into Notepad++ installing directory, NotepadStarter.exe and notepad++.exe should be at the same directory, then running NotepadStarterInstall.bat to install it by "Image File Execution Options",
If you want replace the system notepad.exe completely, please running NotepadReplace.bat, that should works.

Downloads