[Release] Kels Notepad2 replacement addon 2.0.18.3

Discuss & post Update Pack addons here.
Post Reply
User avatar
Kelsenellenelvian
Moderator
Posts: 4383
Joined: Tue Nov 30, 2004 8:32 pm
Location: Pocatello, ID
Contact:

[Release] Kels Notepad2 replacement addon 2.0.18.3

Post by Kelsenellenelvian » Fri Nov 23, 2007 5:47 am

It doesn't quite replace the standard notepad BUT it does replace all associations to notepad2 and changes the Notepad short with needed changes for notpad2....

Also includes Metapath.

http://www.flos-freeware.ch/notepad2.html

Image

Size = 268 kb MD5Hash = 33E69BFABEF508EA1843C37B32D2ECFC

User avatar
ENU_user
Posts: 1253
Joined: Wed Jan 25, 2006 1:42 pm

Post by ENU_user » Fri Nov 23, 2007 6:45 am

its more then enough having "open with" ready with ready MRU choice. an addon with both notepads is better then all other options
because then you can add "open with" for each which will cause another menu to appear "choose program...."

with the MRU window the user highlights the preferable ticks in the [box] to default the selected viewer. press ok
provided the MRU reg entries are entered & available to easily access the app in MRU
now change the default?, np. repeat on ... whats to be the default viewer then ? :P

User avatar
Kelsenellenelvian
Moderator
Posts: 4383
Joined: Tue Nov 30, 2004 8:32 pm
Location: Pocatello, ID
Contact:

Post by Kelsenellenelvian » Fri Nov 23, 2007 10:17 pm

The default viewer is set as notepad2 for nearly all standaed text file types...

User avatar
ENU_user
Posts: 1253
Joined: Wed Jan 25, 2006 1:42 pm

Post by ENU_user » Fri Nov 23, 2007 11:08 pm

i meant if you had both notepad2 and ++ configured to show in the open with and with an MRU reg entire available to trigger the short process of using "choose program...." and defaulting some open command for a file type
@one of the notepad viewers

BTW here is another file type

[HKEY_CLASSES_ROOT\Unknown\shell\Open\Command] @="notepad.exe %1"

for unknown file types

User avatar
Kelsenellenelvian
Moderator
Posts: 4383
Joined: Tue Nov 30, 2004 8:32 pm
Location: Pocatello, ID
Contact:

Post by Kelsenellenelvian » Sat Nov 24, 2007 2:37 am

KK I will add that in.

And you got me confused on the first part

mitsukai89
Posts: 62
Joined: Wed Nov 14, 2007 3:16 pm

Post by mitsukai89 » Sat Nov 24, 2007 6:48 am

[HKEY_CLASSES_ROOT\Unknown\shell\Open\Command] @="notepad.exe %1"


doesnt work for me...

this seems to work though

[HKEY_CLASSES_ROOT\*\shell\Open\Command] @="notepad.exe %1"

but its a bit buggy

User avatar
Kelsenellenelvian
Moderator
Posts: 4383
Joined: Tue Nov 30, 2004 8:32 pm
Location: Pocatello, ID
Contact:

Post by Kelsenellenelvian » Sat Nov 24, 2007 7:09 am

HKCR,"*\shell\open",,,"Open &With Notepad2"
HKCR,"*\shell\open\command",,,"Notepad2.exe %1"

mitsukai89
Posts: 62
Joined: Wed Nov 14, 2007 3:16 pm

Post by mitsukai89 » Sat Nov 24, 2007 7:28 am

well im using notepad++ which replaces notepad.exe(because thats the only way to have the un-installer :( )
and i was wondering can u maybe make an addon that opens all files with notepad by default..

User avatar
ENU_user
Posts: 1253
Joined: Wed Jan 25, 2006 1:42 pm

Post by ENU_user » Sat Nov 24, 2007 8:03 am

HKCR,"*\shell\open",,,"Open With Notepad2"
HKCR,"*\shell\open\command",,,"notepad2.exe %%1"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.","Application",,"Notepad2"

User avatar
Kelsenellenelvian
Moderator
Posts: 4383
Joined: Tue Nov 30, 2004 8:32 pm
Location: Pocatello, ID
Contact:

Post by Kelsenellenelvian » Sat Nov 24, 2007 9:36 am

"HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.","Application",,"Notepad2""

Ummmm wow it'll show on everything.

User avatar
Kelsenellenelvian
Moderator
Posts: 4383
Joined: Tue Nov 30, 2004 8:32 pm
Location: Pocatello, ID
Contact:

Post by Kelsenellenelvian » Sat Nov 24, 2007 10:07 am

Ok OK I give I am testing a notepad++ version of my pack now!

User avatar
n7Epsilon
Moderator
Posts: 624
Joined: Thu Feb 17, 2005 1:37 am
Location: Cairo, Egypt

Post by n7Epsilon » Sat Nov 24, 2007 11:24 am

ENU_user wrote:HKCR,"*\shell\open",,,"Open With Notepad2"
HKCR,"*\shell\open\command",,,"notepad2.exe %%1"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.","Application",,"Notepad2"
If you apply this then double-click on any file will cause it to open in Notepad2. This is not a very good behavior since Windows will also give the Notepad2 icon to all unknown file types...

Better to add Notepad2 to the default Open With... list instead
[HKEY_CLASSES_ROOT\*\OpenWithList]

User avatar
ENU_user
Posts: 1253
Joined: Wed Jan 25, 2006 1:42 pm

Post by ENU_user » Thu Nov 29, 2007 8:38 am

it probably has something to do with that check mark in the choose program .. dialog
which eventually makes explorers "open with" unaccessible or it wont show-up

HKCR,"*\Shell\openas\command",,,"rundll32.exe shell32.dll,OpenAs_RunDLL %1"
this is for opening unknown extension "open"

User avatar
ENU_user
Posts: 1253
Joined: Wed Jan 25, 2006 1:42 pm

Post by ENU_user » Wed Feb 27, 2008 10:27 pm

OK found it : here is "openwith" for unknown file types and the tweak that gets it back after its gone for what reasons ...

with the mru preset for the known "last was open with for "this type *.ext" set on both notpad's you should get a choice :showing the both, cascading from "openwith" menu ..

to get the MRU value : will nee a regshot after using open with ...
  • HKCR,".",,0x0,"NoExtfile"
    HKCR,"NoExtfile",,0x0,"No Extension"
    HKCR,"NoExtfile","EditFlags",0x1,00,00,00,00
    HKCR,"NoExtfile\Shell",,0x0
    HKCR,"NoExtfile\Shell\Open",,0x10
    HKCR,"NoExtfile\Shell\Open\command",,0x0,"%10%\Notepad.exe %%1"
    HKCR,"NoExtfile\shellex\ContextMenuHan dlers\Open With",,0x0,"{09799AFB-AD67-11d1-ABCD-00C04FC30936}"
    HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer","NoInternetOpenWith ",0x10001,01,00,00,00
    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system","NoInternetOpenWith ",0x10001,01,00,00,00

User avatar
ENU_user
Posts: 1253
Joined: Wed Jan 25, 2006 1:42 pm

Post by ENU_user » Wed Feb 27, 2008 11:38 pm

yay! that tweak fixes it!

OK forget all the above:

: for this to work finally ,you will only need to make one extra association with windows default notepad so it triggers the open with collapsing menu by options for unknown types as well .

User avatar
Kiki Burgh
Posts: 206
Joined: Thu Apr 20, 2006 1:40 am
Location: Manila, Philippines

Post by Kiki Burgh » Mon Apr 14, 2008 6:33 am

hi kel! notepad2 has been updated to v2.1.19 ... :) thanks!
-KIKI-

User avatar
nomadturk
Posts: 67
Joined: Fri Jan 04, 2008 8:53 am

Post by nomadturk » Mon Apr 14, 2008 9:46 am

The thing i don't like about Notepad2 is that it doesn't associate a default extension when saving new files. It's not a problem for me since i know it or can change it afterwards or if i forgot somehow, i can figure out what that non-extensioned document is but... It can be confusing for many.

Post Reply