A
anni
hello,
I have created a meeting on ical and attendee accepted the meeting,
then organizer changes duration of meeting, manually doing that
changes participation status of attendee to unknown, but when i have
tried it using apple script, won't work. Then i have tried to change
it using attendees participation status as mentioned in ical
dictionary, but it didn't work...
can any body tell me what is the problem with below script or any
other way to do that..
Applescript:
tell application "iCal"
tell calendar "NewCal"
--try
set Event_Edited to event 1
set end date of event 1 to (end date of event 1) + 1 * minutes
set event_recipients to attendees of event 1
--return participation status of item 2 of attendees of event 1
as string
repeat with i from 1 to count of event_recipients by 1
if display name of item i of event_recipients is not equal
to "user9" then
set participation status of item i of attendees of
event 1 to Unknown display dialog participation status of item i of
attendees of event 1 as string
--return participation status of item i of attendees of
event 1
end if
--set i to i + 1
--display dialog display name of item i of event_recipients
end repeat
end tell
end tell
regards,
anil
I have created a meeting on ical and attendee accepted the meeting,
then organizer changes duration of meeting, manually doing that
changes participation status of attendee to unknown, but when i have
tried it using apple script, won't work. Then i have tried to change
it using attendees participation status as mentioned in ical
dictionary, but it didn't work...
can any body tell me what is the problem with below script or any
other way to do that..
Applescript:
tell application "iCal"
tell calendar "NewCal"
--try
set Event_Edited to event 1
set end date of event 1 to (end date of event 1) + 1 * minutes
set event_recipients to attendees of event 1
--return participation status of item 2 of attendees of event 1
as string
repeat with i from 1 to count of event_recipients by 1
if display name of item i of event_recipients is not equal
to "user9" then
set participation status of item i of attendees of
event 1 to Unknown display dialog participation status of item i of
attendees of event 1 as string
--return participation status of item i of attendees of
event 1
end if
--set i to i + 1
--display dialog display name of item i of event_recipients
end repeat
end tell
end tell
regards,
anil