DoMenuCommand Method Example
The following example instantiates the New Timer dialog box for the ScheduleTestSchedule as if the user had selected Add New Timer Entry from the Insert menu.
TestSchedule.DoMenuCommand schNewTimer
The following example refreshes the Schedule after the Event object MyEvent has been removed from the Schedule TestSchedule.
TestSchedule.RemoveObject "MyEvent"
TestSchedule.DoMenuCommand scHREFreshView