Re: Entourage Calendar help ...
Re: Entourage Calendar help ...
- Subject: Re: Entourage Calendar help ...
- From: "Domains4Days.com" <email@hidden>
- Date: Thu, 27 Jun 2002 09:33:16 -0700
Any ideas on this:
How do I set the Start Date / End Date and Start Time and End Time on a new
calendar item with applescript???
=============
On 6/21/02 11:32 AM, "Domains4Days.com" <email@hidden> wrote:
>
Entourage calendar help ...
>
>
>
I'm having trouble ... How do I set the Start Date / End Date and Start Time
>
and End Time ???
>
>
>
... Assuming that I had previously set some of these variables earlier in
>
the code... Then ...
>
>
>
tell application "Microsoft Entourage"
>
activate
>
>
>
-- get the information from the message, and store it in variables
>
set theName to vNam
>
set theCategory to "Cool"
>
set thePriority to "High"
>
set theContent to vBod
>
set theStartDate to "07/02/02"
>
set theEndDate to "07/02/02"
>
set theStartTime to "???10am ???"
>
set theEndTime to "???2pm ???"
>
>
>
... WHAT DO I PUT HERE ....?:
>
>
set newEvent to make new event with properties {subject:theName,
>
content:theContent, ?????start time:theStart???? End date --- starttime end
>
time etc.}
>
>
open newEvent
>
end tell
>
>
>
>
===========
>
>
>
>
Class event: A calendar event
>
Plural form:
>
events
>
Properties:
>
ID integer [r/o] -- the event's unique ID
>
subject Unicode text -- subject of the event
>
location Unicode text -- location of the event
>
content Unicode text -- description of the event
>
start time date -- time at which the event starts
>
end time date -- time at which the event ends
>
all day event boolean [r/o] -- is the event an all day event?
>
recurring boolean [r/o] -- is the event recurring?
>
category a list of reference -- the list of categories
>
links a list of reference [r/o] -- the list of linked items
>
properties record -- property that allows setting a list of properties
>
>
>
THANKS IN ADVANCE...
--
RevDave
email@hidden
Check out some great Domain Names at:
http://www.domains4days.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.