Whoa! I answered that question already, in full detail, in the same thread
where your question appeared. Please go look it up. It took me about 20-30
minutes to write.
Paul Berkowitz
On 6/27/02 9:30 AM, "Domains4Days.com" <[EMAIL PROTECTED]> wrote:
> 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:33 AM, "Domains4Days.com" <[EMAIL PROTECTED]> 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...
--
Paul Berkowitz
--
To unsubscribe:
<mailto:[EMAIL PROTECTED]>
archives:
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>