Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 22-06-2007, 01:15 AM   #1 (permalink)
FRESH mind
 
Samystic's Avatar
 
Join Date: Oct 2005
Location: Mumbai
Posts: 36
Smile 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.
Samystic is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 22-06-2007, 01:30 AM   #2 (permalink)
D i s t i n c t l y Ahead
 
saurabh kakkar's Avatar
 
Join Date: Sep 2006
Location: New delhi
Posts: 495
Smile Re: Nice Notepad Tweak

good one buddy i know this already but i would say keep posting ur findings
saurabh kakkar is offline  
Old 22-06-2007, 01:48 AM   #3 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default 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...
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline  
Old 22-06-2007, 10:08 AM   #4 (permalink)
Alpha Geek
 
sam_1710's Avatar
 
Join Date: May 2006
Posts: 755
Default 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 :)
sam_1710 is offline  
Old 22-06-2007, 01:01 PM   #5 (permalink)
FRESH mind
 
Samystic's Avatar
 
Join Date: Oct 2005
Location: Mumbai
Posts: 36
Smile Re: Nice Notepad Tweak

Thanks Saurabh!
As Vishal rightly said this tweak removes the POPUP...and sam_1710 this probably works on XP
Samystic is offline  
Old 22-06-2007, 01:50 PM   #6 (permalink)
What?
 
Ihatemyself's Avatar
 
Join Date: Mar 2007
Posts: 242
Default 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.
Ihatemyself is offline  
Old 23-06-2007, 01:48 PM   #7 (permalink)
powerd ↻ pramod
 
GeeNeeYes's Avatar
 
Join Date: Sep 2006
Location: mumbai
Posts: 100
Talking 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
GeeNeeYes is offline  
Old 27-06-2007, 12:37 AM   #8 (permalink)
Right Off the Assembly Line
 
looksvivek's Avatar
 
Join Date: Dec 2006
Location: Delhi, !?(??Ð!bL? I??¦A
Posts: 20
Default 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/
looksvivek is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tweak VI®: Optimise & tweak Windows Vista Kiran.dks Software Q&A 2 30-05-2007 09:08 PM
i need notepad help anzaan Software Q&A 3 23-10-2006 07:37 PM
TWEAK VIsta from the 'tweak-xp pro' guys anandk Software Q&A 2 24-09-2006 02:32 PM
Notepad kumarn_2004 QnA (read only) 7 09-06-2005 11:59 AM

 
Latest Threads
- by abhidev
- by chris
- by Tenida

Advertisement




All times are GMT +5.5. The time now is 04:05 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2