Addict Discuss
Dictionaries, support files, etc
Thread Starter: Raymond Started: 1/7/2008 5:07 PM UTC
Replies: 3
Dictionaries, support files, etc
I just want to make sure I am thinking correctly about this... (and it being Monday AM is not helping me any!!!!)

The american.adm and Roget.adt files do not change... only the *user*.adl and autocorrect.adu files change.

Also, can I share the american.adm and Roget.adt files (store on the network) for all users, only the *user*.adl and autocorrect.adu file are specific to each user.

Is both of these assumptions correct?

Many thanks,
-Raymond
RE: Dictionaries, support files, etc
Hi Raymond,

I just want to make sure I am thinking correctly about this... (and it
being Monday AM is not helping me any!!!!)

Tueday Morning where I am - and I have my first cup of coffee next to me -
so see how I go :)

The american.adm and Roget.adt files do not change... only the
*user*.adl and autocorrect.adu files change.

Depends on what you mean by "change" :)  The Main Dictionaries (*.adm) do
occasionally change when I post updates to them - they don't change whilst
doing a Spell Check in an Application.

The .adl file is the Learning Dictionary that Addict creates to learn how to
do better suggestions - and yes it changes becauses it is created and
maintained by Addict. It can be deleted and can even be disabled (i.e. not
created at all).

The .adu files are Custom (or User) Dictionaries - normally the only one to
change would be <user>.adu - though if you set up AutoCorrect.adu as the
default custom dictionary than that would change also - if not then new
AutoCorrections will go to whatever Custom Dictionary you have set as the
default...

Also, can I share the american.adm and Roget.adt files (store on the
network) for all users, only the *user*.adl and autocorrect.adu file are
specific to each user.

Yes - that is the way I work with clients (I only do part-time work for
Addictive, though I use Addict in my own company's products both in-house
and for clients). Though I also share Autocorrect.adu and don't have it
change - for my clients <user>.adl and <user>.adu are the things that have
user specific changes / additions in them.

I also use file based configuration - so spell.cfg (or whatever you decide
to call it) will have user specific info in it....


Glenn Crouch, mailto:glenn@esbconsult.com
ESB Consultancy, http://www.esbconsult.com
Home of ESBPCS, ESB Calculators, ESBStats and ESBPDF Analysis
Kalgoorlie-Boulder, Western Australia
Re: RE: Dictionaries, support files, etc
This thread is relevant to me. Our current version is 3.2 and we have tried to set the directory of the adl and adu files to a shared network drive. We only succeded moving the adu-file. The adl couldn't be moved and are, in many cases, placed in a readonly directory.

Will updating help us relocating the adl-file?

RE: RE: Dictionaries, support files, etc
I’ve sent you the latest download details.

In my own local projects, I relocate the ADL Files all the time - I have the Addict Components on a Data Module that I create prior to the Main Form, and in the OnCreate of the Data Module I do something akin to:


    AddictSpell31.ConfigFilename := ESBAppDataFolder + ESBAppUser + '-spell.cfg';
    AddictSpell31.SuggestionsLearningDict := ESBAppDataFolder + ESBAppUser + '_sp.adl';
    AddictSpell31.SuggestionsLearning := True;
    AddictSpell31.ConfigDictionaryDir.Clear;
    AddictSpell31.ConfigDictionaryDir.Add (ESBAppDataFolder);
    AddictSpell31.ConfigDictionaryDir.Add ('%AppDir%');

Where ESBAppDataFolder is the path where I want the config files and other items created by Addict and ESBAppUser is the user name I want to use in the filenames.

hth

Glenn Crouch, Addict Support
mailto:support@addictivesoftware.com
Addictive Software http://www.addictivesoftware.com    


--
Glenn Crouch mailto:support@addictivesoftware.com
Addictive Software Support
http://www.addictivesoftware.com