Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows XP / Customization / September 2006

Tip: Looking for answers? Try searching our database.

NOTEPAD.EXE - change the default font size?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mad Scientist Jr - 25 Sep 2006 15:45 GMT
You can change the default font FACE like this:

http://www.jsifaq.com/SF/Tips/Tip.aspx?id=10096

but I don't see any registry entries for font size.

The default size is 10 pts, but I'd like to make it 8.

There is a registry key iPointSize, but it is 100 (decimal), so it
doesn't seem to be for font size.

Any ideas?

ps if anyone knows how to open notepad from a vbscript and specify the
window position & size, i could use that too
Sam - 25 Sep 2006 17:25 GMT
From the website example, the size is indicated by

iPointSize  REG_DWORD       0x6e

Open the key and change it to "decimal" if not already selected

Whatever size you want you add that along with a zero. For 9pts it would be
90 so 10pts is 100, 12 = 120 etc

I looked out of courisity rather than knowledge so I am not sure if this
will stay as the "default". Perhaps someone will step in if I'm wrong.

Sam

> You can change the default font FACE like this:
>
[quoted text clipped - 11 lines]
> ps if anyone knows how to open notepad from a vbscript and specify the
> window position & size, i could use that too
Mad Scientist Jr - 26 Sep 2006 16:02 GMT
Hey that worked, thanks a lot.

> From the website example, the size is indicated by
>
[quoted text clipped - 25 lines]
> > ps if anyone knows how to open notepad from a vbscript and specify the
> > window position & size, i could use that too
Sam - 26 Sep 2006 21:55 GMT
Glad to hear it. We both learned something.

| Hey that worked, thanks a lot.
|
[quoted text clipped - 27 lines]
| > > ps if anyone knows how to open notepad from a vbscript and specify the
| > > window position & size, i could use that too
Mad Scientist Jr - 27 Sep 2006 15:35 GMT
True that.

PS Now if I could just figure out how to open notepad as a shell
application from VBA being able to specify the window size & location
and file to open I'd be set : )

> Glad to hear it. We both learned something.
>
[quoted text clipped - 34 lines]
> specify the
> | > > window position & size, i could use that too
Mad Scientist Jr - 27 Sep 2006 21:44 GMT
Maybe you could modify the right Notepad registry keys right before
opening it with shell... It looks like it would be iWindowPosDX,
iWindowPosDY, iWindowPosX, iWindowPosY but which are for position and
are any for size? Anyone?

All the keys are below... There are some weird ones- what is
lfOrientation? Does anyone know what all these are for?

\HKEY_CURRENT_USER\Software\Microsoft\Notepad

Name                   Type          Data
----                   ----          ----
(Default)              REG_SZ        (value not set)
fMLE_is_broken         REG_DWORD     0
fSaveWindowPositions   REG_DWORD     0
fWrap                  REG_DWORD     0
fMarginBottom          REG_DWORD     1000
fMarginLeft            REG_DWORD     750
fMarginRight           REG_DWORD     750
fMarginTop             REG_DWORD     1000
iPointSize             REG_DWORD     80
iWindowPosDX           REG_DWORD     701
iWindowPosDY           REG_DWORD     854
iWindowPosX            REG_DWORD     4294965897
iWindowPosY            REG_DWORD     60
lfCharSet              REG_DWORD     0
lfClipPrecision        REG_DWORD     2
lfEscapement           REG_DWORD     0
lfFaceName             REG_SZ        Courier New
lfItalic               REG_DWORD     0
lfOrientation          REG_DWORD     0
lfOutPrecision         REG_DWORD     3
lfPitchAndFamily       REG_DWORD     49
lfQuality              REG_DWORD     1
lfStrikeOut            REG_DWORD     0
lfUnderline            REG_DWORD     0
lfWeight               REG_DWORD     400
StatusBar              REG_DWORD     0
szHeader               REG_SZ        &f
szTrailer              REG_SZ        Page &p

> True that.
>
[quoted text clipped - 40 lines]
> > specify the
> > | > > window position & size, i could use that too
Sam - 29 Sep 2006 02:28 GMT
Sorry, I can't help you this time because I replaced Notepad with
Metapad. I was able to help last time because I had a working copy
in win98 and the point size reg key is the same for both OS's. Not
the case for this round.

You could test it yourself. Export the whole "Notepad" key so you
have a backup. Open one of the keys your wondering about and make a
change. Hit "F5" key to refresh the registry. (F5 is the same as
rebooting) Open Notepad and look for what's different. Close it out
and try something else. When you're done tinkering you can import
your backup. Don't worry about crashing your OS because you can't
if you're only working within Notepad. This way, you might be able
to figure out what you want.

| Maybe you could modify the right Notepad registry keys right before
| opening it with shell... It looks like it would be iWindowPosDX,
[quoted text clipped - 65 lines]
| > > | >
| > > | > "Mad Scientist Jr" <usenet_daughter@yahoo.com> wrote in message

news:1159195516.073355.302820@b28g2000cwb.googlegroups.com...
| > > | > > You can change the default font FACE like this:
| > > | > >
[quoted text clipped - 13 lines]
| > > specify the
| > > | > > window position & size, i could use that too
Hoppy - 30 Sep 2006 13:42 GMT
Hi MSJ --

Why don't you save yourself all the trouble and aggravation, and use a
notepad replacement program?  There's a ton of free ones out there, all of
which do a much better job and are infinitely more flexible than crummy
little notepad.

I've used Metapad for years, and it's easily subbed in for notepad.
http://www.liquidninja.com/metapad/

Here's Wikipedia's link [ http://en.wikipedia.org/wiki/Metapad ] which
includes a list of free editors and a comparison.
--
Hoppy
General.Disarray@Unrealized.Reality.com
~~
Mad wrote  on 27 Sep 2006 07:35:24 -0700:

>True that.

>PS Now if I could just figure out how to open notepad as a shell
>application from VBA being able to specify the window size & location
>and file to open I'd be set : )

>> Glad to hear it. We both learned something.

>> | Hey that worked, thanks a lot.
>> |
[quoted text clipped - 32 lines]
>> specify the
>> | > > window position & size, i could use that too
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.