Solved

Lotus Notes 6.5.4 default font change

Posted on 2006-11-24
12
21,926 Views
Last Modified: 2013-12-18
I want to change the default font for all the users in the domino to f.e Arial.
Which is the best way to apply this change to all the mail files and how to.
thanks.
0
Comment
Question by:damixa
  • 6
  • 5
12 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 18008218
The fonts are set individually by default. I think it is in the International section of the User preferences

You either need to send out a button with script that will change it locally or perhaps do a template change that will do it when a user accesses their mail.

I hope this helps !
0
 

Author Comment

by:damixa
ID: 18008318
I know its in the preference , actually i was interested in the how to do it part,
so if it is a script can you send it to me, or the change in the template inotes6.ntf which i use.
thanks
0
 
LVL 18

Expert Comment

by:marilyng
ID: 18008322
Well, I think, and can be wrong, that you can add the following line to the ini file: StaticFont1=Arial|0|26

However, as sysExpert says, that won't prevent the user from setting the font to something else.  So, you could add a bit of code to the database open script and set the environment value if it does not match "Arial|0|26"

To make sure you have the right variable for your enviroment, go to System Preferences and change the default font (staticFont0, 1,2,3)
and then open the ini file and see what the value appears to be.  Then use that to create either script, or a button that you can send to users.

There may be little visible difference, and the status bar will still show: Default Sans Serif, etc.  meaning that Default Sans Serif font is being used (which you set to Arial)

Button:
@Environment( "StaticFont1" ; "Arial|0|26");
@Prompt([OK];"Font Changed";"The next time you open Notes the default font will be changed to Arial")

Script:
 Dim session As New NotesSession
  Call session.SetEnvironmentVar  ("StaticFont1","Arial|0|26")

Unfortunately, there's not much documentation on this variable, so I can't tell you what the  0 and 26 mean.. maybe another expert can fill us in here.   So, I set the value on my PC, and checked the .ini file for the variable that was set.

Caveat:  It won't change the $Fonts values already stored in rich text fields (incoming memos, etc).  So, if they were written in Tahoma, they will appear in Tahoma.

0
 

Author Comment

by:damixa
ID: 18009031
I am not worried if the people will change the font again or not,
I just want to set the standard font as Arial as thats the company's font. the other part is up to them
so you are saying that if i send the button with an email to everyone, once they click the change should be done on the next restart,
how to set the font type to size 11.

thnx

0
 
LVL 18

Expert Comment

by:marilyng
ID: 18009246
Hmm.. font size is a different thing.  The default MS Sans Serif is 10 points.  If Arial has a 10 point size, then it will default to that, else it will default to the next standard size.  Since Arial is a true-type font, rather than a bitmap font, I will venture a guess that it will default to 10.  You would have to test this in your button before you deploy, but the only other  .ini parameter is for the display adjustment, and not the actual font size used in composing memos.

Unfortunately, I know no way to "set" the font size, only the ini parameter to set the font.
0
 

Author Comment

by:damixa
ID: 18009511
well its my first time to do some scripts in lotus, so if it is possible can you show step by step
how to, i actually have no time now for looking myself so i would appreciate if u can show.
thnx again.
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 18

Accepted Solution

by:
marilyng earned 500 total points
ID: 18009897
If you send a button, AND they click on it, then the change will happen the next time they start notes.  To send a button, simply:

1. Create a mail memo (save as draft so you can access it later)
2. Write your instructions of what you want them to do.
3. In the next line in the Body field of the memo,  Select File>>Create>>Hotspot>>Button.
4. A small button will appear in the Body of the memo, and a Button dialog box will open.
5. Add a label to your button like: Please Click Here to Change Your Font.  And configure the text properties using the rest of the tabs.
6. Close or move the dialog, so you can see the formula editor pane below the mail memo.  You should see the "Label" you just typed, along
    with a split editor pane.  
    In the right side, there is "Run: Client" and "formula" and  space below those two fields to enter a formula.

    Paste into that space:
   @Environment( "StaticFont1" ; "Arial|0|26");
   @Prompt([OK];"Font Changed!";"Thank you! The next time you open Notes the default font will be changed to Arial")

7. Click the Checkmark at the top of this pane to save and check the formula.
8. Click anywhere in the BODY of the memo to return to the memo.  The editor pane will close.
9. Save the memo as draft, and then make a copy of that draft (else when you send it, you will have to go searching for it in the "sent folder" if you need to send it again).
10. Send it to a test PC that has some other default font set (you may want to set a visibly different font first on this PC so you can see the difference and if the button works).  Run many tests.

-------------
If you have no experience with script, then I don't advise leaping into it, since you would have to change the mail file template, and doing that incorrectly could bring down everyone's ability to send email.   Don't know about your office, but most folks get mighty cranky when their email fails.


   


 

0
 

Author Comment

by:damixa
ID: 18010948
thnx for the detailed explanation,¨
i did exactly the same but there is no change,
i looked at the ini file and ths static1font hasnt change, but a new variable $static1font is added. with a $ sign in front.
maybe something should be changed in the formula.
thnx
0
 
LVL 18

Expert Comment

by:marilyng
ID: 18011664
Ah, fooey.  Formula language doesn't allow you to specify if it's a system variable.

Same thing, same button in the place where it says "Formula", drop down the arrow and change it to "LotusScript".

Paste this between the Click Sub and the End Sub:

Dim Session as New NotesSession
Call session.SetEnvironmentVar  ("StaticFont1","Arial|0|26", True )
msgbox "Thank you!  The next time you open Notes, the default font will be changed to Arial",,"Font Changed"

Press Ctrl-S to save the button, and try that one. (The last TRUE does this.)


Apologies.

0
 

Author Comment

by:damixa
ID: 18014903
Marilyng thnx a lot,
looks its functioning, well im giving you the points first cos it was great help, but  I still would have liked to know if there is any way to change the size of the fonts,
if somebody will find it i will open a new question again with 500 points,
thanx again marilyng.

0
 
LVL 18

Expert Comment

by:marilyng
ID: 18014939
I've been searching, and there doesn't seem to be a way to tap into this.  Maybe someone else has an answer.. ?  Thanks for the points.
0
 

Author Comment

by:damixa
ID: 18014958
well I was an exchange 2003 admin and company decided to go with Lotus because of SAP,  and in outlook these things were easy, but it looks so difficult in Lotus although
in lotus you can program almost anything,
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
MICR Font 4 255
External emails not coming through 3 96
Color? 8 91
Source of man or women figure in Text Box 7 86
For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now