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
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