Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
cmsix cmsix is offline
external usenet poster
 
Posts: 3
Default Default Font Face and Size for .txt

I have low vision and am not able to read the Courier New font Microsoft Word
defaults to when opening an existing .txt file. That is the only type file I
use Word on .txt

I understand that word can not obtain font face and size information when
opening a .txt file. Why doesn't it use the defaults for a new .txt file
then.

How can I make Microsoft Word default to opening .txt files in the font face
and size I want it too.

I realize this is a common mistake made by word processors. OpenOffice and
Abiword have the same behavior. When opening an existing .txt document the
ignore the default font face and size specified by the user and open the
existing document in a font face and size specified by who? The obvious
answer is specified by someone who doesn't have ny trouble with their vision.

I was able to cure Abiword of this fault by editing the executable with
UltraEdit. When I tried that with word's executable I found it didn't contain
font names in human readable form.

So, is there a way to tell word to open existing .txt files in my preferred
font face and size. If not, can you tell me where the arbitrarily selected
font face and size for opening existing .txt files is located?

cmsix
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Default Font Face and Size for .txt

Text files do not (as you appear to realise) store font information and uses
the monospaced font Courier New to present the text. Word use the plain text
paragraph style to format text files, but while you can change the font size
on that style and have that reflected in the documents, Word will not
automatically adopt a different font face. You can however force it to do
so, by changing the plain text style in normal.dot to whatever you require
and add the following lines to an autoopen macro in normal.dot which will
force the display of whatever font you have setup in that style.

If LCase(Right(ActiveDocument.name, 3)) = "txt" Then
With Selection
.WholeStory
.Font.Reset
.HomeKey Unit:=wdStory
End With
End If

See http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




cmsix wrote:
I have low vision and am not able to read the Courier New font
Microsoft Word defaults to when opening an existing .txt file. That
is the only type file I use Word on .txt

I understand that word can not obtain font face and size information
when opening a .txt file. Why doesn't it use the defaults for a new
.txt file then.

How can I make Microsoft Word default to opening .txt files in the
font face and size I want it too.

I realize this is a common mistake made by word processors.
OpenOffice and Abiword have the same behavior. When opening an
existing .txt document the ignore the default font face and size
specified by the user and open the existing document in a font face
and size specified by who? The obvious answer is specified by someone
who doesn't have ny trouble with their vision.

I was able to cure Abiword of this fault by editing the executable
with UltraEdit. When I tried that with word's executable I found it
didn't contain font names in human readable form.

So, is there a way to tell word to open existing .txt files in my
preferred font face and size. If not, can you tell me where the
arbitrarily selected font face and size for opening existing .txt
files is located?

cmsix



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
cmsix cmsix is offline
external usenet poster
 
Posts: 3
Default Default Font Face and Size for .txt



"Graham Mayor" wrote:

Text files do not (as you appear to realise) store font information and uses
the monospaced font Courier New to present the text. Word use the plain text
paragraph style to format text files, but while you can change the font size
on that style and have that reflected in the documents, Word will not
automatically adopt a different font face. You can however force it to do
so, by changing the plain text style in normal.dot to whatever you require
and add the following lines to an autoopen macro in normal.dot which will
force the display of whatever font you have setup in that style.

If LCase(Right(ActiveDocument.name, 3)) = "txt" Then
With Selection
.WholeStory
.Font.Reset
.HomeKey Unit:=wdStory
End With
End If

See http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Thank you for your attempt to help. I created the macro, named it autopen
and then tried to open an exixting text document. It still opened in Courier
New 10pt.

Hoping I had named it incorrectly I tried running the macro after the
document was open. It did nothing.

any other hints?

cmsix

  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Default Font Face and Size for .txt


cmsix wrote:
"Graham Mayor" wrote:

Text files do not (as you appear to realise) store font information
and uses the monospaced font Courier New to present the text. Word
use the plain text paragraph style to format text files, but while
you can change the font size on that style and have that reflected
in the documents, Word will not automatically adopt a different font
face. You can however force it to do so, by changing the plain text
style in normal.dot to whatever you require and add the following
lines to an autoopen macro in normal.dot which will force the
display of whatever font you have setup in that style.

If LCase(Right(ActiveDocument.name, 3)) = "txt" Then
With Selection
.WholeStory
.Font.Reset
.HomeKey Unit:=wdStory
End With
End If

See http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Thank you for your attempt to help. I created the macro, named it
autopen and then tried to open an exixting text document. It still
opened in Courier New 10pt.

Hoping I had named it incorrectly I tried running the macro after the
document was open. It did nothing.

any other hints?

cmsix


The macro forces the document to adopt the settings in the underlying style
i.e. Plain Text. It won't do anything unless you change the style definition
of the Plain Text style. I suspect you will also have to set Windows
Explorer to display extensions of known file types also. I have not tested
it without.

Call the macro Autoopen - not Autopen!

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



  #5   Report Post  
Posted to microsoft.public.word.docmanagement
cmsix cmsix is offline
external usenet poster
 
Posts: 3
Default Default Font Face and Size for .txt

I hope top posting is ok.

While I was looking for where to change the style I stumbled onto the record
macro button and the steps that came out to

Selection.WholeStory
Selection.Font.Name = "Verdana"
Selection.Font.Size = 14

It isn't automatic, but after figuring out how to put a button in the extra
space it is almost as good and I can go back to fiction and just make up
things that work right automagically.

Thanks for your guidance though. It led me to a good solution.

cmsix

"Graham Mayor" wrote:


cmsix wrote:
"Graham Mayor" wrote:

Text files do not (as you appear to realise) store font information
and uses the monospaced font Courier New to present the text. Word
use the plain text paragraph style to format text files, but while
you can change the font size on that style and have that reflected
in the documents, Word will not automatically adopt a different font
face. You can however force it to do so, by changing the plain text
style in normal.dot to whatever you require and add the following
lines to an autoopen macro in normal.dot which will force the
display of whatever font you have setup in that style.

If LCase(Right(ActiveDocument.name, 3)) = "txt" Then
With Selection
.WholeStory
.Font.Reset
.HomeKey Unit:=wdStory
End With
End If

See http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Thank you for your attempt to help. I created the macro, named it
autopen and then tried to open an exixting text document. It still
opened in Courier New 10pt.

Hoping I had named it incorrectly I tried running the macro after the
document was open. It did nothing.

any other hints?

cmsix


The macro forces the document to adopt the settings in the underlying style
i.e. Plain Text. It won't do anything unless you change the style definition
of the Plain Text style. I suspect you will also have to set Windows
Explorer to display extensions of known file types also. I have not tested
it without.

Call the macro Autoopen - not Autopen!

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org






  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Default Font Face and Size for .txt

You could combine the two and make it automatic:

Sub Autoopen()
If LCase(Right(ActiveDocument.name, 3)) = "txt" Then
With Selection
.WholeStory
.Font.Name = "Verdana"
.Font.Size = 14
.HomeKey Unit:=wdStory
End With
End If
End Sub

This relies on text documents being named filename.txt and would ignore
other documents.
http://www.gmayor.com/installing_macro.htm
--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



cmsix wrote:
I hope top posting is ok.

While I was looking for where to change the style I stumbled onto the
record macro button and the steps that came out to

Selection.WholeStory
Selection.Font.Name = "Verdana"
Selection.Font.Size = 14

It isn't automatic, but after figuring out how to put a button in the
extra space it is almost as good and I can go back to fiction and
just make up things that work right automagically.

Thanks for your guidance though. It led me to a good solution.

cmsix

"Graham Mayor" wrote:


cmsix wrote:
"Graham Mayor" wrote:

Text files do not (as you appear to realise) store font information
and uses the monospaced font Courier New to present the text. Word
use the plain text paragraph style to format text files, but while
you can change the font size on that style and have that reflected
in the documents, Word will not automatically adopt a different
font face. You can however force it to do so, by changing the
plain text style in normal.dot to whatever you require and add the
following lines to an autoopen macro in normal.dot which will
force the display of whatever font you have setup in that style.

If LCase(Right(ActiveDocument.name, 3)) = "txt" Then
With Selection
.WholeStory
.Font.Reset
.HomeKey Unit:=wdStory
End With
End If

See http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Thank you for your attempt to help. I created the macro, named it
autopen and then tried to open an exixting text document. It still
opened in Courier New 10pt.

Hoping I had named it incorrectly I tried running the macro after
the document was open. It did nothing.

any other hints?

cmsix


The macro forces the document to adopt the settings in the
underlying style i.e. Plain Text. It won't do anything unless you
change the style definition of the Plain Text style. I suspect you
will also have to set Windows Explorer to display extensions of
known file types also. I have not tested it without.

Call the macro Autoopen - not Autopen!

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make expressions in word such as smiley face:) or sad face King james New Users 3 April 30th 08 03:50 PM
Default font and size TypeType Microsoft Word Help 2 March 24th 07 06:41 PM
How to set the default font and size to be Arial with 10 size? Eric Microsoft Word Help 1 May 13th 06 03:27 PM
Font type face JBear Microsoft Word Help 3 March 7th 06 07:46 PM
Presetting font size and type face on footnote numbers JeanClerk Microsoft Word Help 1 January 4th 06 08:53 PM


All times are GMT +1. The time now is 05:52 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"