Hacking Notepad
[By a novice for novice]
(As pointed out by GNUrag ... I'v deleted the change in copyrighted information.)
....Well this has been done many times before!
But I have given it my own twist(?).
Hope you like it.
Tools:………
Resource Hacker and …. Notepad!
Get resource hacker from November Digit CD/DVD. Notepad.exe file
can be found in C:\windows and C:\windows\system folder.
Copy one to desktop. First of all give it a new name like MyPad or something like that . Now
open reshhacker and drag the renamed exe file into it.
Change Icon: .........
First the easyest one. Go to Icon Group. There is only one entry '2'. Expand
it and select 1033. Right click on it and choose "Replace
Resources". Now on the newly opened dialog box click on ‘Open file with
new Icon’....and select the icon that you'll use as the Icon for "Mypad". You can save the file
now and notice the changed Icon. (if you
can't just refresh the desktop!)
Change Name: ..........
If you open the "Mypad" now you'll see that the name notepad is
still shown in the Tital bar. To change that, in the Resource Hacker go
to String Table#1 Select 1033 and you'll see
Sevaral lines of strings on the right hand pane. Out of these lines
numbered 5 and 9 are important. You might have understand by now that
we need to change "Notepad" to "Mypad" or whatever the name you have
chosen. You can also do that in line numbered 8 also (appears in
dialogue box). Now hit the 'compile Script' button to compile. This will
make title bar to show the new name.
Change Menus: ..........
What I always wanted was a quicker access to different options.
As there is no option of toolbar in Notepad I made the menu bar into a
Toolbar! To do that in Resource Hacker go to Menu#1.
I’ve changed the entries to followings...
1 MENU
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
MENUITEM "[&New]", 1
MENUITEM "[&Open]", 2
MENUITEM "[&Save]", 3
MENUITEM "[&Find]", 21
MENUITEM "[Fon&t]", 33
POPUP "[&Option]"
{
MENUITEM "&Word Wrap", 32
MENUITEM "&Status Bar", 27
MENUITEM "Page Set&up", 5
MENUITEM "&Print", 6
MENUITEM "&Replace...\tCtrl+H", 23
MENUITEM "&Go To...\tCtrl+G", 24
}
MENUITEM "[E&xit]", 7
}
As you can see apart from 'Option' no Popup menus will appear.
(you might not like this but I’ve found it interesting)
You can copy past from mine or you can experiment little bit yourself.
(..be careful about the curly brackets.)
After that don’t forget to compile it. Now save it and you are done!!
A new looked notepad errrr.. Mypad.
Final Tip: ...........
Make Mypad work bit like sticky. Create a shortcut of MyPad. Now right click on shortcut
and go to properties. There in the target box add the link to a blank text file.
for example
"c:\MyPad.exe" D:\Docs\notes.txt
Thats it!
Same can be done by creating shortcut of the textfile but that would not look cool (..............Ok that was pathetic )
[By a novice for novice]
(As pointed out by GNUrag ... I'v deleted the change in copyrighted information.)
....Well this has been done many times before!
But I have given it my own twist(?).
Hope you like it.
Tools:………
Resource Hacker and …. Notepad!
Get resource hacker from November Digit CD/DVD. Notepad.exe file
can be found in C:\windows and C:\windows\system folder.
Copy one to desktop. First of all give it a new name like MyPad or something like that . Now
open reshhacker and drag the renamed exe file into it.
Change Icon: .........
First the easyest one. Go to Icon Group. There is only one entry '2'. Expand
it and select 1033. Right click on it and choose "Replace
Resources". Now on the newly opened dialog box click on ‘Open file with
new Icon’....and select the icon that you'll use as the Icon for "Mypad". You can save the file
now and notice the changed Icon. (if you
can't just refresh the desktop!)
Change Name: ..........
If you open the "Mypad" now you'll see that the name notepad is
still shown in the Tital bar. To change that, in the Resource Hacker go
to String Table#1 Select 1033 and you'll see
Sevaral lines of strings on the right hand pane. Out of these lines
numbered 5 and 9 are important. You might have understand by now that
we need to change "Notepad" to "Mypad" or whatever the name you have
chosen. You can also do that in line numbered 8 also (appears in
dialogue box). Now hit the 'compile Script' button to compile. This will
make title bar to show the new name.
Change Menus: ..........
What I always wanted was a quicker access to different options.
As there is no option of toolbar in Notepad I made the menu bar into a
Toolbar! To do that in Resource Hacker go to Menu#1.
I’ve changed the entries to followings...
1 MENU
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
MENUITEM "[&New]", 1
MENUITEM "[&Open]", 2
MENUITEM "[&Save]", 3
MENUITEM "[&Find]", 21
MENUITEM "[Fon&t]", 33
POPUP "[&Option]"
{
MENUITEM "&Word Wrap", 32
MENUITEM "&Status Bar", 27
MENUITEM "Page Set&up", 5
MENUITEM "&Print", 6
MENUITEM "&Replace...\tCtrl+H", 23
MENUITEM "&Go To...\tCtrl+G", 24
}
MENUITEM "[E&xit]", 7
}
As you can see apart from 'Option' no Popup menus will appear.
(you might not like this but I’ve found it interesting)
You can copy past from mine or you can experiment little bit yourself.
(..be careful about the curly brackets.)
After that don’t forget to compile it. Now save it and you are done!!
A new looked notepad errrr.. Mypad.
Final Tip: ...........
Make Mypad work bit like sticky. Create a shortcut of MyPad. Now right click on shortcut
and go to properties. There in the target box add the link to a blank text file.
for example
"c:\MyPad.exe" D:\Docs\notes.txt
Thats it!
Same can be done by creating shortcut of the textfile but that would not look cool (..............Ok that was pathetic )