Compare plugin shell integration
-
Hi, I like the compare plugin functionality in Notepad++ but I’m using it by opening two files and then choosing Plugins --> Compare -> Compare.
Is there any way to add shell integration to the compare plugin so that I can select two files in Windows Explorer and choose “Send to” to directly launch the Compare plugin within Notepad++ ?
I’m using Win 10, Notepad++ v6.5.1 and Compare version 1.5.6.2. I cannot upgrade beyond these versions as updates are controlled by my employer,
Thanks for your help.
-
Could be made working with some tweaks.
My idea would involve nppexec plugin and two versions
of NppExec.ini file because NppExec can be configured to run Compare
on notepad++ startup.Basically, one NppExec.ini is configured with something like
ScriptNppStart="RunCompare"and the other with default settings.
You create a batch file which gets executed when clicking the explorer context menu entry.
The batch file itself renames the default NppExec.ini to something like NppExec.ini.default
and the special one from, let’s say NppExec.ini_compare to NppExec.ini .
Then it starts npp exec with the parameter to open the two files and afterwards
renames the NppExec.inis back to default. Should work, I guess.Don’t have windows - so can’t really test.
Cheers
Claudia
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login