Library to import iCal files and create events in your Outlook calendar.
Note: This is a beta version - script breaking changes may occur at any time!
Prerequisite: OutlookEX UDF.
The following components and properties have been implemented (full or partial).
iCal PROPERTY SECTION IN RFC 5545 OUTLOOK PROPERTY COMMENT ------------------ ------------------- ------------------------- --------------------------------------------- VEVENT:CATEGORIES Section 18.104.22.168. Categories VEVENT:CLASS Section 22.214.171.124. Sensitivity olNormal, olPrivate or olConfidentional. olPersonal not used. VEVENT:DESCRIPTION Section 126.96.36.199. Body VEVENT:LOCATION Section 188.8.131.52. Location VEVENT:PRIORITY Section 184.108.40.206. Importance VEVENT:SUMMARY Section 220.127.116.11. Subject VEVENT:DTEND Section 18.104.22.168. End specifies the non-inclusive end of the event VEVENT:DTSTART Section 22.214.171.124. Start VEVENT:DURATION Section 126.96.36.199. End used to calculate the end property VEVENT:TRANSP Section 188.8.131.52. BusyStatus VALARM:TRIGGER Section 184.108.40.206. ReminderMinutesBeforeStart Only the minutes section of the duration is processed The download contains 2 files: The UDF (iCal.au3) and an example script (iCal_VEventImport.au3). The test iCal file (Test.ics) is created on the fly holding two events.
When you run the example script only one event gets written to your default calender for today. The second event is suppressed by the callback function.
Debugging is enabled, so you get a full listing on the SciTe console how the iCal file gets processed.
Format of the example iCalendar file:
BEGIN:VCALENDAR VERSION:2.0 ; Ignored METHOD:PUBLISH ; Ignored PRODID:-//iCal UDF//iCal Generator//DE ; Ignored BEGIN:VEVENT CLASS:PRIVATE ; Sensitivity: Private PRIORITY:3 ; Importance: High CATEGORIES:TEST ; Categories: Test (needs to be modified to your liking) CREATED:20190110T032002Z ; Ignored LAST-MODIFIED:20190110T032002Z ; Ignored DTSTAMP:20190110T032002Z ; Ignored SUMMARY:HOLIDAY ; Subject DTSTART;VALUE=DATE:20190118 ; Start date DURATION:P2D ; Duration: 2 days. Is used to calculate the end date URL:http://www.google.com ; Ignored DESCRIPTION:All Holidays ; Body TRANSP:OPAQUE ; BusyStatus: Busy LOCATION:Room 123 ; Location UID:TEST_2019_5c36abd73c75e ; Ignored BEGIN:VALARM TRIGGER:PT30M ; Alarm: 30 minutes prior to the event ACTION:DISPLAY ; Ignored DESCRIPTION:Reminder ; Ignored END:VALARM END:VEVENT END:VCALENDAR Links:
Threads: General Help & Support
Known Bugs: (last changed: 2019-01-22)
Things to come: (last changed: 2019-02-08)
BTW: If you like this UDF please click the "I like this" button. This tells me where to next put my development effort
Outlook does not allow to import vCard/VCF-files programmatically.
I might implement this format (RFC 6350) as I did with the iCalendar data format if someone is interested
Please post here or click the "Like" button if you think this is a good idea
For my iCal UDF I need to translate rfc 2445 duration format to an array holding the possible values (week, day, hour, minute, second):
Has anyone already written some code to to this?
"P15DT5H0M20S" should be translated to [0, 15, 5, 0, 20] ; week, day, hour, minute, second
Some RegExp guru around?
Any help is greatly appreciated
I am having a requirement where i have to automate outllook.I have to send mail using outlook.Whe i went through the forum i got OutLookEx.au3 but when i am trying to use this i am getting error can anyone help me in using this? @water
Dear members of the forum,
I'm working on a project where incoming emails are to be analyzed based on the subject line and moved to various folders in a shared mailbox.
I'm using "OutlookEx.au3" of @water. The macro can can move emails to any folder that I newly create. But the macro couldn't move emails to specific folders that are already existing.
I checked the permission levels of those folders and found that nothing is wrong with that. The function I use is _OL_ItemMove.
Please guide me how to proceed further. Thanks in advance.