Entourage is not creating correct birthdayevent from Add to Calender...

B

berrygrey

Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: Intel

When I input the birthday in the PERSONAL section of the contact data form for entourage (got that stupid issue with dates before 1950 worked out thanks to info from this site) and go and click ADD TO CALENDAR, the date that is specified in the event form is completely wrong. It either shows a completely different month or worse, different date, than what is in the birthday input from contacts. Is there a fix for this or does MS just really like annoying the crap out of mac users.

I'm new to this mac thing and I like my macbook pro, but what the heck is with this MS office crap?
 
C

Corentin Cras-Méneur

When I input the birthday in the PERSONAL section of the contact data
form for entourage (got that stupid issue with dates before 1950 worked
out thanks to info from this site) and go and click ADD TO CALENDAR, the
date that is specified in the event form is completely wrong. It either
shows a completely different month or worse, different date, than what
is in the birthday input from contacts. Is there a fix for this or does
MS just really like annoying the crap out of mac users.


I've seen that as well on occasions and reported it to MS :-\


Corentin
 
B

Barry Wainwright

Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: Intel

When I input the birthday in the PERSONAL section of the contact data form for entourage (got that stupid issue with dates before 1950 worked out thanks to info from this site) and go and click ADD TO CALENDAR, the date that is specified in the event form is completely wrong. It either shows a completely different month or worse, different date, than what is in the birthday input from contacts. Is there a fix for this or does MS just really like annoying the crap out of mac users.

I'm new to this mac thing and I like my macbook pro, but what the heck is with this MS office crap?

As a work-around, try this script (watch out for line-wraps):

-- Create Birthday Events v1.0 (2008-xx-xx)
-- an applescript by Barry Wainwright <mailto:[email protected]>
-- Creates recurring birthday events for selected contacts
-- This script released under a Creative Commons Attribution,
NonCommercial, ShareAlike 2.0 England & Wales License.
-- see <http://creativecommons.org/licenses/by-nc-sa/2.0/uk/> for full
details

tell application "Microsoft Entourage"
set selected_contacts to my test_selection(contact)
if selected_contacts is false then
beep 2
return
end if
repeat with this_contact in (selected_contacts)
set birthday_text to birthday of this_contact
set the_birthday to AppleScript's date birthday_text
set month_day to day of the_birthday
set month_number to month of the_birthday as integer
set recurrence_string to ¬
"FREQ=YEARLY;INTERVAL=1;BYMONTHDAY=" & ¬
month_day & ";BYMONTH=" & month_number & ¬ ";WKST=SU"
set the_name to first name of this_contact & " " & ¬
last name of this_contact
set event_label to "Birthday - " & the_name
make new event with properties {subject:event_label, ¬
start time:the_birthday, all day event:true, ¬
recurring:true, recurrence:recurrence_string}
end repeat
end tell
on test_selection(required_type)
tell application "Microsoft Entourage"
try
set the_selection to selection
set the_class to class of the_selection
if the_class is list then set the_class to ¬
class of item 1 of the_selection
if the_class is not required_type then error
on error
return false
end try
return the_election
end tell
end test_selection
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top