Default Configuration

Top  Previous  Next

If you are deploying PhraseExpander on many computers in an organization, you can share the same settings on all machines by using the PhraseExpander static configuration file.

 

Create a file called PhraseExpander.exe.config and place it in the same folder where PhraseExpander is installed.

 

To create the configuration file

1.Open Notepad

2.Copy and paste the sample configuration file below

3.Customize the settings as shown in the table below

4.Save the file as PhraseExpander.exe.config

5.Copy the created configuration file in the installation folder

 

Here's a sample of the PhraseExpander.exe.config configuration file (to copy in the installation folder):

 

<?xml version="1.0"?>

<configuration>

   <appSettings>

    <add key="SettingsFolder" value="d:\SettingsFolder"/>

    <add key="DefaultDb" value="D:\mydocuments\PhraseExpanderData.ipdb"/>

    <add key="AutoupdateLinked" value="true"/>

    <add key="SendUsageStats" value="true"/>

    <add key="BackupAutomatic" value="true"/>

    <add key="BackupDeleteOlder" value="true"/>

    <add key="BackupDays" value="10"/>

    <add key="BackupFolder" value="d:\SettingsFolder\Backup"/>

    <add key="UseClipboard" value=""/>

    <add key="BlockUpdatesCheck" value="false"/>

    <add key="AllowOnlyInApps" value=""/>

    <add key="HideSplashScreen" value=""/>

    <add key="HideAllNotifications" value=""/>

    <add key="MaxSuggestions" value=""/>

    <add key="ConfirmationKey" value=""/>

    <add key="HideWizardAtStartup" value=""/>

  </appSettings>

</configuration>

 

 

Option

Description

SettingsFolder

The folder that contains the PhraseExpander settings. If you set this, all the users logged on the same computer will share the same settings (leave blank for default settings).

DefaultDb

The default DB you want to open every time PhraseExpander starts (leave blank for default settings). If the file doesn't exist, PhraseExpander will try and create a new one.

AutoupdateLinked

Automatically updates linked glossaries when there are remote changes. If the setting is configured here, users will not be able to change it (leave blank for default settings, the user will be able to customize it). The available settings are yes and force.

 

NOTE: force will apply the remote changes even if the user has made local changes. The update will be executed when the window is minimized.

SendUsageStats

Sends anonymous usage statistics. If you don't want to send any information, set it to false (leave blank for default settings, the user will be able to customize it).

BackupFolder

The folder where backups are stored (leave blank for default settings, the user will be able to customize it).

BackupAutomatic

It set to true, it automatically performs a backup of the PhraseExpander database (leave blank for default settings, the user will be able to customize it).

BackupDeleteOlder

If set to true, PhraseExpander will delete backups that are older than BackupDays days (leave blank for default settings, the user will be able to customize it).

BackupDays

PhraseExpander will keep the backups for the specified number of days (leave blank for default settings, the user will be able to customize it).

UseClipboard

If set to true, PhraseExpander will always use the Clipboard to send the text (leave blank for default settings, the user will be able to customize it).

BlockUpdatesCheck

If set to true, PhraseExpander will never check for updates and the option will be disabled (leave blank or set to false for default settings, the user will be able to customize it).

AllowOnlyInApps

Enter the name of the applications EXE file you want PhraseExpander to be active in, separated by a semicolon. If you set a value here, PhraseExpander will work only in specific application. E.g. winword.exe;excel.exe (if a value is set, the user will not be able to customize it in the Options dialog).

HideSplashScreen

If set to true, PhraseExpander will not display the splash screen when PhraseExpander is started (leave blank for default settings, if a value is set, the user will not be able to customize it in the Options dialog).

HideAllNotifications

If set to true, PhraseExpander will hide all notifications shown in the Notifications section in the General tab in the Options, e.g. when a new abbreviation is triggered, if the application is in the ignore list, etc.. (leave blank for default settings, if a value is set, the user will not be able to customize it in the Options dialog).

MaxSuggestions

Number between 1 and 10: define the maximum number of suggestions that PhraseExpander will display (leave blank for default settings, if a value is set, the user will not be able to customize it in the Options dialog).

ConfirmationKey

Define the default confirmation key (leave blank for default settings, the user will be able to customize it). Allowed values are SHIFT, CTRL, ENTER, SPACE TAB, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, HOME, END

HideWizardAtStartup

If set to true, PhraseExpander will not display the wizard screen when the application is started.

 

NOTE: in the SettingsFolder, DefaultDb and BackupFolder, environment variables can be used (e.g. %APPDATA%\PhraseExpander)

 

DEFAULT SETTING: you don't need to set all the parameters in the config file. If you want to leave a setting up to the user, you can remove the key or leave it blank. If the value is set, the user will not be able to modify it.