Hi Kevs:
Sorry, you're right. If you're on Word 2004, then you don't have a
Normal.dotm, you have a file simply called "Normal" and it does indeed
reside in your Mud folder.
And, because you have Word 2004, you can use VBA which is much simpler than
AppleScript.
The following macro will set the Word window height to 100 % and the zoom to
125%:
Option Explicit
Sub AutoExec()
Call SetWindowSize
End Sub
Sub AutoOpen()
Call SetWindowSize
End Sub
Sub AutoNew()
Call SetWindowSize
End Sub
Sub SetWindowSize()
'
' SetWindowSize Macro
'
'
Dim aDoc As Document
Dim aWindow As Window
Set aDoc = ActiveDocument
Set aWindow = aDoc.ActiveWindow
With aWindow
.WindowState = wdWindowStateNormal
.Top = 5
.Left = 5
.Height = (Application.UsableHeight * 1)
.Width = (Application.UsableWidth * 0.5)
.View.Zoom.Percentage = 125
End With
End Sub
Just
1) paste the whole thing into TextEdit, then
2) convert it to plain text, then
3) paste it into a new module in the Visual Basic Editor.
You must go to TextEdit first because in your browser the spaces will be
converted to non-breaking spaces, and due to a bug in VBA, it will refuse to
compile.
Read the following instructions carefully:
http://word.mvps.org/Mac/InstallMacro.html
This macro is coded so that it runs automatically whenever Word starts,
opens a document, or creates a document. That's something you can't do in
AppleScript: with AppleScript, you must manually "run" the AppleScript. If
you code VBA correctly, it will run automatically when it is needed.
From now, you will never have to set a window size or a zoom ratio
Now: You can adjust the code to your exact tastes. All the action takes
place in the "With... End With" block.
The line beginning ".Height" is asking your computer how high your screen
is, and setting the window to that height. If you do not want Word to be
the full height of the screen, specify a number smaller than "1" after the
asterisk in that line. For example:
.Height = (Application.UsableHeight * 0.95) will make the window 95 % of
your monitor height.
Similarly, the .Width line does exactly the same thing with the width. I
set mine to "half" (which is 0.5) because I have a wide-screen monitor and I
want to be able to do other things as well as work in Word. Tweak that
number until it makes you happy.
Finally, the line .View.Zoom.Percentage = 125
Sets the size of the text as a percentage of what Word thinks your font
height is. (The font heights in Mac Word are totally nonsense: the
mechanism still assumes the screen is set to 72 dpi, which no modern screen
ever is...). On my monitor, 125% is about right: your monitor is bigger, so
you may want to go a little higher.
While you are tweaking, you need to save the macro, then re-open a document
each time, to see the effect.
Cheers
John, you mean the normal document in my MUD folder?
It does not say .dotm
I've never seen .dotm, what is that?
Also, I'm on 2004.
Never used a script so that is very complex for me.
I just pasted MIcheal script into the script editor, but did not work.
Of course, I don't really know what I'm doing.
I need help though guys, I can barely see my words at 100%
--
The email below is my business email -- Please do not email me about forum
matters unless I ask you to; or unless you intend to pay!
John McGhie, Microsoft MVP (Word, Mac Word), Consultant Technical Writer,
McGhie Information Engineering Pty Ltd
Sydney, Australia. | Ph: +61 (0)4 1209 1410
+61 4 1209 1410, mailto:
[email protected]