Apple Newton Utilities User's Guide Page 689

  • Download
  • Add to my manuals
  • Print
  • Page
    / 942
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 688
CHAPTER 19
Built-in Applications and System Data
Dates 19-15
To move a meeting half an hour earlier and give it a different (90 minute)
duration:
GetRoot().calendar:MoveAppointment(
"lunch with Ellen",
StringToDate("6/30/95 12:00pm"),
StringToDate("6/30/95 11:30am"),
90);
MoveOnlyOneAppointment
works just like MoveAppointment except that if
it nds a nonexception instance of a repeating meeting or event that ts the criteria,
it moves only that instance.
MoveAppointment would move all the
nonexceptions in that case.
To move a single occurrence of a repeating meeting:
GetRoot().calendar:MoveOnlyOneAppointment(
"design meeting",
StringToDate("11/13/95 10:30am"),
StringToDate("11/14/95 2:00pm"),
nil);
The IncrementMonth function can be especially useful when moving
appointments.
This example moves an appointment two months ahead:
GetRoot().calendar:MoveAppointment(
"lunch with Ellen",
StringToDate("6/30/95 12:00pm"),
IncrementMonth(StringToDate("6/30/95 11:30am"),2),
nil);
Getting and Setting Information for Meetings or Events 19
There are a number of Dates methods that get/set information stored in the
Dates soups:
Set a stop date for a repeating meeting with SetRepeatingEntryStopDate.
Set an alarm for a meeting with SetEntryAlarm.
Get or set the meeting invitees with GetMeetingInvitees and
SetMeetingInvitees.
Get or set a meeting location with GetMeetingLocation and
SetMeetingLocation.
Get or set the meeting notes with GetMeetingNotes and
SetMeetingNotes.
Page view 688
1 2 ... 684 685 686 687 688 689 690 691 692 693 694 ... 941 942

Comments to this Manuals

No comments