Address, Postcode and Bank solutions

- Names & Numbers Manual

TRANSFERRING ADDRESSES

Transferring Address To Other Programs

Robot

This is the simplest way to transfer an address to your program, as you simply type a postcode into almost any Windows application, Robot does the rest.  See Using The Robot for more details.

Clipboard

Drag & Drop

Insert

The behaviour of Names & Numbers during Insert is controlled by settings for each application.  Please see the section below that describes how to use the Wizard to configure Insert for your application.

Insert and Robot Settings Wizard

Insert and Robot Advanced Setup

For speed of setup, it is recommended that the Insert and Robot Wizard is used first to configure an application for use with the Insert and Robot features of Names & Numbers.  If you need to change anything with your settings or you have more advanced requirements, either due to how you wish the address to be inserted or because of the way the application is laid out, you can then use the Advanced Setup to modify your settings accordingly and use more advanced features that the Wizard may not include.  You can also setup an application for scratch if desired using the Advanced Setup.

To configure an application to work with Names & Numbers using the Advanced Setup elect the 'Insert / Robot Setup' option from the File menu.  Then on the first Wizard screen select the 'Advanced Setup' button.  The Advanced Settings screen will then appear:

Selecting your Application
The first thing to do is to select the application settings that you wish to modify.  At the top left of this screen the 'Application' drop-down lists all the application settings present.  You can use this to select the application you wish to modify.  If you wish to add a New application without using the Wizard you can use the 'New' button to do this.  The 'Remove' button can be used to delete a setting if required.  If you do select the New button the following dialogue will appear:

Here you select the window title of your application.  This is used by Names & Numbers to identify the application so that both Insert and Robot can use these settings when asked to insert into your application.  The window title is the text that appears in the main blue window title bar of your application.  This text should always be in the window title, and so should not necessarily be the complete title.  For example, you might find Word has a title bar of 'Document 1 - Microsoft Word', however when you save your file it could, for example, change to 'MyDoc.doc - Microsoft Word'.  Therefore by setting the Application Window Title to 'Microsoft Word' you will ensure that Names & Numbers can always recognise your application.  If your application is running when you press the New button you should find your application title is listed in the drop down list box provided.  Names & Numbers  will attempt to remove known document titles leaving only the application name, however if it has not you should alter the title yourself.

The options provided below allow you to specify a name for your application if desired.  Normally you can leave the first option to 'Use the application window title above to identify these settings' as the Application Window Title will be the name of the application.  However in some cases the windows title text might be obscure so you might prefer to choose to enter a more friendly application name.  This name doesn't affect the Insert or Robot process itself, however it might be useful to specify a name for the application so that you will easily recognise it when altering the application settings.

The last item allows you to select existing settings to use as a starting point.  You can choose not to use any (select, '(None)', the first item from the drop down list), but it is usually easier to use something as a starting point rather than starting from a blank set of settings.  You should therefore use one from the most similar application listed.

Changing Field Mappings
Field Mappings are shown in the light yellow boxes under the heading 'Fields'.  You can drag and drop fields from the 'Fields' list on the right to this list.  Items can also be dragged off the list back to the 'Fields' list if you wish to remove them.  Multiple fields can be dragged to a single Field in your application if required.

Above the Field's List you will see there are options to display Standard or Special fields.  This option changes the list displayed below.  You can mix and match these fields by adding fields from either one to the 'Fields To Use' list.  The standard fields are the normal Names & Numbers fields including the current County option.  The special fields are more advanced fields including the raw PAF style dependant thoroughfare and thoroughfare fields (this is the street split into two fields if there are two street names in the address), etc., the rest of the county field types, and the outcode and incode portions of the postcode (the part before and after the space respectively).  These are useful for applications that store addresses in such formats.

Before and After Keystrokes/Mouse Clicks
To the left and right of each field respectively, you can specify the keystrokes that are required before and after the Field has been entered into the application.  If a keyboard shortcut or keystroke is not available to move a particular field, you can also configure AFD Postcode Plus to use a mouse click instead as long as the window is not scrollable - e.g. a website where the position to click might vary.   Prior to the first field you may wish to enter any Before keystrokes that are needed to take you to the first field in the application to start inserting from.  This is especially useful if the application may not be in the correct field when Insert is used or if the postcode is not going to be entered in the first address field with Robot.

The keystrokes are specified using our fully flexible macro language.  To easily select keystrokes to use for this, click the '...' button next to the Before or After field you are entering keystrokes for.  The following dialog will then be displayed:

Clicking on any item in the list of possible keystrokes will add the selected item to the keystrokes to use text box.  You can also type any normal keyboard key, for example letters, numbers in that box yourself.  When you have entered the relevant keystroke's you can press OK to update the text field on the Advanced Setup screen.

If you need to press a key with the Alt, Ctrl or Shift keys also pressed down you can select the symbols for this from the end of the keystrokes list on the keystrokes dialogue to apply them to the keystroke following the symbol. 

To specify repeating keys, use the form {key number}.  You must put a space between key and number. For example, {LEFT 4} means press the Left Arrow key 4 times; {TAB 3} means press the Tab key 3 times.

Should you need to use a mouse click instead, simply select the 'Mouse Click' option:

Specifying Upper Case Fields 
For most address fields (but not for data expected always in capital letters - like Postcodes), Names & Numbers will attempt to provide properly capitalised fields.

If you prefer for one or more fields to be inserted only in Capital Letters, check the Case check box to the right of the After keystrokes box for the field(s) that you wish to Insert that field in upper case.  A Royal Mail approved address prints the Town field in this format - though many typists prefer not to use this format when typing letters.

Line Squeeze
The 'Line Squeeze' option at the top of the dialogue applies to all fields mapped.  If this option is enabled, Names & Numbers will not insert any blank lines in the address (i.e. not even the Before or After keystrokes will be used).  This is useful for inserting the address for things such as labels where blank lines aren't desirable.  For formatted address entry, e.g. into a database, it is better not to use this functionality as address consistency can be more important.

Should you wish to squeeze groups of fields, for example you have a fixed Town and Names & Numbers field but you wish to squeeze together the fields above that, then you can check the 'Squeeze' option to the left of the yellow field mappings text field for the consecutive fields that you wish to squeeze together.  However many fields are mapped in the space to the right of those in the Squeeze group will be inserted into the number of fields that have Squeeze checked.

Additional Options

More advanced settings to allow complete flexibility over the way Insert and Robot work which you may require can be found by pressing the 'Additional Options' button at the top right of the Advanced Setup screen.  This will present you with the following dialogue:

Window Titles Associated with this Application
Normally only a single window title will be associated with an Application.   This is the one you specified when you added the application using the Wizard or the New button on the Advanced Setup screen.  In some cases however, such as that shown above which is the WP setting used for multiple word processors, you may wish to have multiple window titles associated with a single application setting.  These can be added by using the 'Add' button from this screen.  The Edit and Remove buttons also allow you to Edit and Remove window titles as required.   

Settings for the Selected Window Title
These settings allow you to specify options for each window title associated with this application.  Where there is only one window title these are the application settings, however when multiple titles exist such as that shown above, you can specify differing settings for each title if desired.  The settings given here are as follows:

  • Use with Robot
    This specifies if your application is going to be used with Robot or not.  Regardless of this setting, your settings will work with Insert, which is where you lookup the address in Names & Numbers, select it and then select the application from the Insert menu to insert the address (or press F2 to insert into the last used application again).  Robot functionality allows you to type the postcode directly into your application and then insert the full address without having to use Names & Numbers directly first.  This option is enabled by default, if you have no need for Robot functionality or if you are entering postcodes in your application and not wanting Robot triggered when you do so then you can opt not to use Robot with your application.

  • Use with Robot Fast Find
    This specifies if your application is going to to be used with Robot Fast Find or not.  Robot Fast Find enables you to enter address details to be looked up directly from your application when you do not have the postcode.  For example typing #Commercial Street, Birmingham# into your application will give you all addresses on that street to choose from.  You can then choose the correct one and insert it into your application. You can also lookup a postcode this way, e.g. #B1 1AA#, which could be useful should you need to enter postcodes without looking them up sometimes so the normal robot functionality is not suitable for you.  In that case you can say no to 'Use with Robot' but yes to 'Use with Robot Fast Find' - that way Robot would only be triggered when you enter the postcode surrounded by the # symbol.  You can also change the # symbol to one more suitable for your application or convenient for you if desired.

  • Use Robot without prompting where possible
    Normally when you type a Postcode in your application, Robot will prompt you before inserting the address back into your application.  However, if you would prefer Robot to do this automatically wherever possible, you can select this option and you will only be prompted if there is more than one possible street address for the postcode you enter. 

Settings for the Selected Application
These settings cover the whole application, regardless of if multiple window titles are selected.  They are advanced options that you may wish to use to customise the way Names & Numbers inserts data into your application.  The settings given here are as follows:

  • Split Fields at Commas for this application
    This option is useful with fields that have been squeezed.  It will separate fields which have comma's in them (e.g. a dependant street like 'Newhall Court, George Street') onto two separate lines.  You may prefer this for labels or for entry into your application.  We don't generally recommend this feature as it means your address will not be in such a consistent format (for example the second street in one address could be in the same place as a locality in another).

  • Use separate settings for Insert and Robot
    If enabled this option will separate the settings for Insert and Robot for this application.  Normally the settings that Names & Numbers will use for both Insert and Robot are the same for the same application.  However if you need to have differing settings for each one you can do this, simply by selecting this option.  When you click OK and go back to the Advanced Setup screen you will then see an option at the bottom left of that screen to switch between the settings for Insert and Robot for the application.  They will default to being the same but as you make changes to one it will not affect the other.

  • Enable Field Length Limits
    This option is designed for applications with small field lengths.  It allows you to specify the maximum length of each field you wish to Insert.  If the field exceeds this length then Names & Numbers will automatically use the most common abbreviations to try and reduce it's length to minimise truncation of the field.  When you enable this option and click OK to go back to the Advanced Setup screen you will see a Length box has been added to specify this length for each field.  A value of 0 means the field will be unlimited in length, otherwise you can specify the number of characters that the field can take.

  • Use Initials Only
    This option specifies that when the Full Name is inserted or displayed on a mailing label that the firstname will be initialised. For example you will see 'Mr J C Bloggs' instead of 'Mr Joe C Bloggs'.

Default Application Settings
These settings do not affect the application settings currently being modified, but tell Names & Numbers what to use if no settings has been specified for a particular application that is used, they are also the settings used for determining display options in Names & Numbers itself where needed.  You can select the Default settings from the drop-down here.  You can also specify if these settings will be used as the default for Inserting, if this is not enabled then Names & Numbers will not Insert into any application that does not have settings specified for it.  The setting to use the default when using Robot Fast Find also allows Robot Fast Find to be used with any application by using these default settings.

Dynamic Data Exchange (DDE)

    Names & Numbers can pass information to and from another Windows program through Dynamic Data Exchange - even if the application has no programming or 'macro' language. Before DDE can operate properly, you must tell Names & Numbers about the program you wish to have a DDE 'conversation' with - using the DDE Tab on the Names & Numbers Property window.

    To set the DDE Properties, launch the Names & Numbers Properties window from the File menu Properties option (shortcut key [Ctrl]+R).

    DDE Properties

    The first two settings - Application and Topic tell Names & Numbers about the program you wish to establish a DDE conversation with - and the information should be provided in the documentation of that program. (When installed, Names & Numbers is set up for use with Symantec's ACT v3 contact manager program).

    Names & Numbers offers 35 fields of data available for a DDE conversation - and these are listed in the Fields list box. For each field which you require, select the field, check-mark the 'Enable for DDE' checkbox, and provide the DDE 'Item Name' for that field. The 'Item Name' is the name recognised by your program for the Names & Numbers field - eg the Names & Numbers 'Postcode' field may be known as 'ZipCode' to your program. Your program's documentation should provide the 'Item Name' for you.

    DDE settings are retained automatically by Names & Numbers - but they are also effected by the status of the 'Initials Only' setting specified in the Insert Settings and the 'County Type' setting of the Edit menu.

    Once you have established the DDE settings, you can start a DDE conversation by loading your program, then selecting the View menu Icon for DDE option (shortcut key [Ctrl]+D). This launches a special icon-sized Names & Numbers DDE window, which can be positioned so that it appears to be a tool-bar button on your chosen DDE program. To move the button, click and hold down the RIGHT mouse button, then drag the DDE Icon into position before releasing the mouse button. Names & Numbers will remember this position the next time the DDE Icon is used.

    The Names & Numbers DDE Icon - use it like a toolbar button!

    To read data FROM your chosen program, simply enter the data in the required fields within that program, then click the DDE Icon with the LEFT mouse button. Names & Numbers will examine the data provided by your program and look up the address for you. For more complex searches, consider using 'Cut & Paste' or 'Drag & Drop' to instruct Names & Numbers what you wish to search for.

    Once Names & Numbers has listed found results of a Lookup or Search (whether the data was 'collected' from your program using DDE or typed directly into Names & Numbers), you can transfer an address back to your program by double-clicking its entry in the Results List. Using this technique along with your program's Insert New Record facility will also allow you to transfer many addresses from Names & Numbers to your program, and so build up a mailing list.

Dynamic Link Libraries

    Full access to all the data within Names & Numbers is available to programmers through the Names & Numbers DLLs. This means that for developers - and even for users of programs like Microsoft Access, etc, name and address lookup can be entirely automatic and invisible.

    Using the DLLs will require some programming ability - but AFD supply fully working examples, with free source code, showing how this can be done, in a variety of popular programming languages - like Microsoft Access, Visual Basic, Delphi and C/C++.

    For more details, see the section on the Names & Numbers API

Any Questions? Call now on 01624 811711
  Names & Numbers

  Manual Contents

  Appendix