Poco Bugs and Workarounds FAQ - Adding Address to an Address Book via a Script
Poco General FAQ - Adding Address to an Address Book via a Script
Q:
I am adding an address to an address book via a script but I don't see the new entry, what's wrong?
A:
Poco 2.1:
I have found that Poco doesn't refresh it's address list after I add a new entry
via a script if you add it using Poco's file handling commands. If you to this you must use one of
the following methods to display the new entry:
Move to a new address book and then back to the original one OR
Shutdown and restart Poco
.
Poco 2.5:
Slaven has added several PocoScript commands to allow maintenance of address book
information from within a script. See the
AddAddress,
AddRawAddress and
RemoveAddress commands.
Further address book support is available through the GetRawAddress and
IsAddressPresent commands.
When these commands are used the address book display is properly updated.