OutlookTools: Difference between revisions

From AutoIt Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


==General==
==General==
Most of the functions provide a callback function which is called before an Outlook item is created.
Most of the functions provide a '''callback function'''. It gets called before an Outlook item is created.
This gives more flexibility to the user.
You decide how the item is being handled by setting the return value:
You decide how the item is being handled by setting the return value:
{| class="wikitable"
{| class="wikitable"
Line 18: Line 18:
|}
|}


 
The function is called with a parameter describing the data being used to create the Outlook item. This parameter is read only.
 
The full description of this data can be found in the corresponding function you find below.


==Functions==
==Functions==
Line 25: Line 25:
===_OLT_iCal_VEventImport===
===_OLT_iCal_VEventImport===
Import iCal events from an ICS file to an Outlook calendar.
Import iCal events from an ICS file to an Outlook calendar.
====Callback function parameter====
xxx


===_OLT_vCard_Import===
===_OLT_vCard_Import===
Import vCard contacts to an Outlook contacts folder.
Import vCard contacts to an Outlook contacts folder.
====Callback function parameter====
xxx


===_OLT_CSV_Import===
===_OLT_CSV_Import===
Imports data from a CSV file and creates Outlook items in a specified folder.
Imports data from a CSV file and creates Outlook items in a specified folder.
====Callback function parameter====
xxx

Revision as of 18:06, 7 July 2019

This page is still a work in progress.

The OutlookTools UDF offers some often needed extended functionality to control and manipulate Microsoft Outlook. It is built on top of the OutlookEX UDF.

General

Most of the functions provide a callback function. It gets called before an Outlook item is created.

You decide how the item is being handled by setting the return value:

Return value Action
0 Create the Outlook item, continue processing the next record
1 Do not create the Outlook item, continue processing the next record
2 Do not create the Outlook item, cancel processing all remaining records and exit the _OLT_* function.

The function is called with a parameter describing the data being used to create the Outlook item. This parameter is read only. The full description of this data can be found in the corresponding function you find below.

Functions

_OLT_iCal_VEventImport

Import iCal events from an ICS file to an Outlook calendar.

Callback function parameter

xxx

_OLT_vCard_Import

Import vCard contacts to an Outlook contacts folder.

Callback function parameter

xxx

_OLT_CSV_Import

Imports data from a CSV file and creates Outlook items in a specified folder.

Callback function parameter

xxx