 |
22-06-2007, 01:15 AM
|
#1 (permalink)
|
|
FRESH mind
Join Date: Oct 2005
Location: Mumbai
Posts: 36
|
Nice Notepad Tweak
Hello Digigans!!!
Most of us use Notepad for some or the other purpose...some advanced users may do their stuff in NoteTab Pro,etc.
This l'il tweak will remove the hassles of using the menu(which i found to be very irritating while using Find, Replace). It actually removes the menubar!
OK! Before proceeding, BACKUP YOUR NOTEPAD (%WINDIR%\Notepad.exe)
1] Start Resource Hacker
2] Open Notepad in it
3] Expand to Menu>1>1033
4] In the right hand side pane, delete all those stuff and paste this:
Code:
1 MENU
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
MENUITEM "New", 1
MENUITEM "Open", 2
MENUITEM "Save", 3
MENUITEM "Save As...", 4
MENUITEM "Select All ", 25
MENUITEM "Undo", 16
MENUITEM "Cut", 768
MENUITEM "Copy", 769
MENUITEM "Paste", 770
MENUITEM "Delete", 771
MENUITEM "Font", 33
MENUITEM "Find", 22
MENUITEM "Find Next", 22
MENUITEM "Go To", 24
MENUITEM "Replace", 23
MENUITEM "Status Bar", 27
MENUITEM "Wrap", 32
MENUITEM "Time/&Date", 26
}
5] Press "Compile Script".
6] Save it or press Ctrl+S
7] Run Notepad
8] That Menubar is gone and instead every command appears as a button.
I hope Mr. Vista is reading this...can the same thing be done to the Windows Explorer menubar? Would'nt it be cool then???
Thanks.
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
22-06-2007, 01:30 AM
|
#2 (permalink)
|
|
D i s t i n c t l y Ahead
Join Date: Sep 2006
Location: New delhi
Posts: 495
|
Re: Nice Notepad Tweak
good one buddy i know this already but i would say keep posting ur findings
|
|
|
22-06-2007, 01:48 AM
|
#3 (permalink)
|
|
Microsoft MVP
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
|
Re: Nice Notepad Tweak
Actually we are removing the "Pop-up" menu in the above mentioned code and thats why the pop-up menu items will be shown as buttons, since their root menus hv been deleted.
You can try the same for windows explorer, as u wanted, by opening " %windir%\System32\browselc.dll" file in Resource Hacker and goto:
Menu -> 263 -> 1033
Menu -> 266 -> 1033
Menu -> 267 -> 1033
And in right-side pane, remove lines starting with POPUP and their respective curly braces {}.
PS: I hvnt tried it. use at ur own risk...
|
|
|
22-06-2007, 10:08 AM
|
#4 (permalink)
|
|
Alpha Geek
Join Date: May 2006
Posts: 755
|
Re: Nice Notepad Tweak
doesn't work wid da vista version of notepad!!!
__________________
C2D E8400, MSI P45 Neo-F, Sapphire HD4850, Dell 2409W, OCZ 2*1GB RAM + 1*2GB Transcend + 1*1GB Transcend , Seagate 1TB + 2*Seagate 80GB, 600W SMPS, APC 600VA, Creative EP630, Sennheiser HD202 :)
|
|
|
22-06-2007, 01:01 PM
|
#5 (permalink)
|
|
FRESH mind
Join Date: Oct 2005
Location: Mumbai
Posts: 36
|
Re: Nice Notepad Tweak
Thanks Saurabh!
As Vishal rightly said this tweak removes the POPUP...and sam_1710 this probably works on XP
|
|
|
22-06-2007, 01:50 PM
|
#6 (permalink)
|
|
What?
Join Date: Mar 2007
Posts: 242
|
Re: Nice Notepad Tweak
Woh 'Digigans'. Nice term buddy .Where did u get it from..(Heee Heee sorry)
__________________
Unremitting attention to horses neighing awesomeness is nothing to brag about.
Consider----------> Milking Cows.
|
|
|
23-06-2007, 01:48 PM
|
#7 (permalink)
|
|
powerd ↻ pramod
Join Date: Sep 2006
Location: mumbai
Posts: 100
|
Re: Nice Notepad Tweak
great work ! samystic...
i prefer this menu system
Code:
1 MENU
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
MENUITEM "&New", 1
MENUITEM "&Open", 2
MENUITEM "&Save", 3
MENUITEM "&Rename", 4
MENUITEM "|", 0, GRAYED
MENUITEM "&Undo", 16
MENUITEM "Cu&t", 768
MENUITEM "&Copy", 769
MENUITEM "&Paste", 770
MENUITEM "De&lete", 771
MENUITEM "|", 0, GRAYED
MENUITEM "&Font", 33
MENUITEM "&Find", 21
MENUITEM "N&ext", 22
MENUITEM "&Replace", 23
MENUITEM "&GoTo", 24
MENUITEM "|", 0, GRAYED
MENUITEM "&Word Wrap", 32
MENUITEM "Status &Bar", 27
MENUITEM "|", 0, GRAYED
MENUITEM "E&xit", 7
}
I have also modified the accelerators (hotkeys) to my choice
Code:
MAINACC ACCELERATORS
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
VK_N, 1, CONTROL, VIRTKEY
VK_O, 2, CONTROL, VIRTKEY
VK_S, 3, CONTROL, VIRTKEY
VK_P, 6, CONTROL, VIRTKEY
VK_INSERT, 769, CONTROL, VIRTKEY
VK_F1, 64, VIRTKEY
VK_F2, 4, VIRTKEY
VK_F3, 22, VIRTKEY
VK_F4, 32, VIRTKEY
VK_F5, 33, VIRTKEY
VK_B, 27, CONTROL, VIRTKEY
VK_G, 24, CONTROL, VIRTKEY
VK_F, 21, NOINVERT, CONTROL, VIRTKEY
VK_H, 23, NOINVERT, CONTROL, VIRTKEY
VK_BACK, 16, ALT, VIRTKEY
VK_Z, 16, CONTROL, VIRTKEY
VK_X, 768, CONTROL, VIRTKEY
VK_C, 769, CONTROL, VIRTKEY
VK_V, 770, CONTROL, VIRTKEY
VK_A, 25, CONTROL, VIRTKEY
}
__________________
digit member #17000
|
|
|
27-06-2007, 12:37 AM
|
#8 (permalink)
|
|
Right Off the Assembly Line
Join Date: Dec 2006
Location: Delhi, !?(??Ð!bL? I??¦A
Posts: 20
|
Re: Nice Notepad Tweak
Great work here man, keep posting.
__________________
Check out Nokia S60 2nd Themes by me here..
http://www.onsmartphone.com/themes-by-looksvivek/
http://www.60series.com/themes-by-looksvivek/
http://homesite.mobile9.com/kevivek/
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|