Sie sind auf Seite 1von 6

After installing all the files needed (see instructions below) you will see the SSN Mail

Enhancement smarticons in the button bar of your client. The SSN Mail Enhancement consists of two separate tools, desperately needed by any notes user. 1. Phonebook Lookup The first tool is a Phonebook Lookup Button that will search through the address book for a phone number (or any other bit of information you need). Just click on the smarticon, enter a name and a phonetic address book lookup will return all names that much your query, along with the corresponding phone numbers. 2. Polyglot Dictionaries The second tool is a clever way to use multiple dictionaries in your notes client. Until now, in order to use for example a German dictionary in an English client, you had to go to the user preferences and switch the spelling language manually. In order to use the English dictionary again you had to switch back the international settings. Imaging you are a polyglot! With the mail enhancement installed you only have to click on one of the smarticons in order to switch between the languages and start the spell checker on your client. You can also check a particular part of your text. Just mark the area you want to check and click on the smarticon that represents the language of your choice. The spell checker will examine the selected area only. REMEMBER although you can use the phone book lookup anytime and in any application, the dictionaries are available only when editing or writing text in your mail file.

Instructions on installing and configuring the Mail Enhancements.


The SSN Mail Enhancements consist of the following bits and peaces: 1. The smarticon files (*.bmp), which are plain bitmap pictures measuring 19x19 mm 2. The smarticon definition files (*.mac), which contain the macros that are executed each time you click on the corresponding bitmap picture. 3. The universe.smi file that contains all information about the standard toolbar of your client. This file will replace the universe.smi file already on your computer. 4. Spell checking lotuscript agents (one for each language used), which look like this:
Sub Initialize Dim session As New NotesSession Call Session.SetEnvironmentVar( "SPELL_LANG", "2057" , True ) Print "Spelling dictionary : English" End Sub

These agents must be in your mail file (or in the mail template of your organization). 5. The dictionary files (*.dic) for the languages of your choice.

Installation
In order to install the SSN Mail Enhancement follow this steps. 1. Close the notes client 2. Go to the W32 directory found in your notes data folder and rename the file universe.smi to universe.bak 3. Copy all the files found in the icon folder on this cdrom to the W32 directory in your notes data folder. 4. Open the agent view of the SSNmail.nsf also found on this cdrom and copy the spell check agents to your mail file.

Alternatively your administrator can copy these agents to the mail template of your organization for them to be available to all users. 5. copy all dictionary files found in the dictionaries folder on this cdrom to your notes data folder.

Configuring
You can customize all of these futures to much your organization needs. Polyglot Dictionaries You can add more smarticons for languages other than the ones provided. To do that you only have to: A. Copy-paste one of the spell check agents and modify it: 1. Change the name of the agent to Spell Check in <your language> 2. Edit the initialization part of the agent: Sub Initialize Dim session As New NotesSession Call Session.SetEnvironmentVar( "SPELL_LANG", "<country code>" , True ) Print "Spelling dictionary : <your language>" End Sub The country code is a number used by lotus to identify each language. Here are some examples: German (Standard) German (Swish) English (UK) English (US) French (Standard) French (Swish) Italian (Standard) Italian (Swish) Spanish (Standard) Spanish (Argentina) Portuguese (Standard) Polish Greek Turkish 1031 2055 2057 1033 1036 4108 1040 2064 1034 11274 2070 1045 1032 1055

If your are not sure about your country code then go to: File > Preferences > User Preferences > International Change the spelling dictionary to the desired language. Then open the notes.ini file and check for this line
SPELL_LANG=1032

The number displayed here is your country code. In our example the spelling language will be Greek. 3. Save the new agent.

B. Create a new bitmap image for your language (using paintbrush for example) and save it in the W32 folder. C. Add the new smarticon to your tool bar.(go to File > Preferences > Smarticon Settings) D. Edit the smarticon and add this formula:
@Command([ToolsRunMacro];"Spell Check in <your language>"); @PostedCommand([ToolsSpellCheck])

Now you are ready to use your new dictionary.

Phone Book Look up This smarticon must be edited in order to function correctly in your organization. The formula behind this icon is:
tempname := @Trim(@Prompt([OKCANCELEDIT]; "Phone Book Lookup"; "Enter surname (eg. Nikolaou), firstname (eg. Nikos), or fullname (eg. Nikos Nikolaou).";"")); surname := @If(@RightBack(tempname; " ") = ""; tempname;@RightBack(tempname; " ")); templist1 := @DbLookup(""; "C22569E6:003500F6"; "($Users)"; tempname; 2); templist2 := @If(@IsError(templist1); @DbLookup(""; "C2256897:0041A075"; "($Users)"; @Soundex(surname); 2); templist1); templist3 := @If(@IsError(templist2); @Do(@Prompt([OK]; "Lookup Error"; "The name " + tempname + " you entered was not found in the address book. Please try again"; ""); @Return(0)); templist2); templist4 := @DbLookup(""; "C22569E6:003500F6"; "($Users)"; templist3; "PhoneNumber"); templist5 := @DbLookup(""; "C22569E6:003500F6"; "($Users)"; templist3; "OfficePhoneNumber"); templist6 := @DbLookup(""; "C22569E6:003500F6"; "($Users)"; templist3; "CellPhoneNumber"); templist7:=@DbLookup(""; "C22569E6:003500F6"; "($Users)";templist3;"Firstname"); templist8:=@DbLookup(""; "C22569E6:003500F6"; "($Users)";templist3;"Lastname"); temphonelist := templist7 + " " + templist8 + " " + "Ext: " + templist4 + " Direct: " + templist5+ " Mobile: " + templist6; phonelist:=@Unique(temphonelist); @Prompt([OKCANCELLIST]; "Phone Book Lookup"; "List of names and numbers."; ""; phonelist)

The DbLookup function needs the Replica ID of your address book, here in bold, in order to function correctly. You can find the replica ID of your address book at the Properties window of the database:

After replacing your address books replica ID in the highlighted places you can edit the formula to add new information or extra functionality. As you see the formula uses the $users view and extracts the information of the columns Firstname, Lastname (Surname), PhoneNumber , OfficePhoneNumber, CellPhoneNumber. Feel free to change the formula as needed.

The Satellite Shops Network Development Team

Das könnte Ihnen auch gefallen