1 ###############################################################################
5 # Action and DataType definitions for the Common Desktop Environment
6 # (CDE) Calendar Component.
8 # (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
9 # (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
10 # (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
11 # (c) Copyright 1993, 1994, 1995 Novell, Inc.
14 ###############################################################################
17 ###############################################################################
19 # WARNING: This file may be overwritten in subsequent installations of
20 # the Common Desktop Environment (CDE). Consequently, any system wide
21 # changes should be made to an equivalent database file in
22 # /etc/dt/types and not in this file.
24 ###############################################################################
26 ###################################################################
30 ###################################################################
31 DATA_ATTRIBUTES DtcmAppointmentAttrs
33 ACTIONS Open,Insert,Print
39 DESCRIPTION This file contains information pertaining to Calendar \
40 Manager appointments. Its data type is named \
41 CalendarAppointmentAttrs. CalendarAppointmentAttrs \
42 files have names ending with '.appt'.
43 TYPE_LABEL DtcmAppointmentAttrs
45 DATA_CRITERIA DtcmAppointmentAttrs1
47 DATA_ATTRIBUTES_NAME DtcmAppointmentAttrs
51 DATA_CRITERIA DtcmAppointmentAttrs2
53 DATA_ATTRIBUTES_NAME DtcmAppointmentAttrs
55 CONTENT 3 string ** Calendar Appointment **
57 DATA_CRITERIA DtcmAppointmentAttrs3
59 DATA_ATTRIBUTES_NAME DtcmAppointmentAttrs
61 CONTENT 3 string ** Calendar To Do Item **
66 ARG_TYPE DtcmAppointmentAttrs
73 ARG_TYPE DtcmAppointmentAttrs
80 ARG_TYPE DtcmAppointmentAttrs
86 ###################################################################
87 ###################################################################
91 ###################################################################
97 EXEC_STRING /usr/dt/bin/dtcm
99 DESCRIPTION The Calendar (Dtcm) action starts the desktop Calendar \
107 LABEL Calendar Insert
110 EXEC_STRING sh -c '/usr/dt/bin/dtcm_insert -a "%(File)Arg_1%" ;\
111 if [ \$? -ne 0 ] ; then \
112 /usr/dt/bin/dterror.ds \
113 "The appointment was not scheduled in your \
115 due to an error. The appointment may not be \
117 correctly or your calendar may not be \
119 "Calendar : Error - Schedule" \
122 DESCRIPTION The Calendar Insert (DtcmInsert) action \
123 inserts an appointment into the user's default calendar.
135 TT_ARG0_MODE TT_INOUT
136 TT_ARG0_VTYPE %Arg_1%
137 TT_FILE %Arg_1"Appointment File:"%
138 DESCRIPTION The Calendar Edit (DtcmEdit) action runs \
139 the standalone appointment editor on a calendar \
143 ########################### EOF ##############################################