home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1999 April / DPPCPRO0499.ISO / April / Notes / 50b2wic.exe / DATA1.CAB / NotesProgramFilesRequiredProgramFilesLotusScript / orgconst.lss < prev   
Encoding:
Text File  |  1998-11-17  |  8.0 KB  |  214 lines

  1. '-------- CONSTANTS FROM ORGANIZER
  2.  
  3. '--- Values for NoticeType (ORSMSGTYPE)
  4. ' These are stored in the NoticeType item in the note
  5. ' These should only be 1 character in length and are not translated
  6. ' Not all of these are stored on DISK
  7.  
  8. Const ORS_MSGTYPE_ACCEPT        = "A"  ' accept meeting request
  9. Const ORS_MSGTYPE_COUNTERACCEPT = "B"
  10. Const ORS_MSGTYPE_CANCEL        = "C"  ' originator cancelled the meeting
  11. Const ORS_MSGTYPE_DELEGATING    = "D"  ' delegated (notifies originator)
  12. Const ORS_MSGTYPE_REFRESHINFO   = "E"
  13. Const ORS_MSGTYPE_COMPLETED      = "F"    ' completed request (for todo's)
  14. Const ORS_MSGTYPE_ADDCALENDAR   = "G"
  15. Const ORS_MSGTYPE_INVITE        = "I"  ' original meeting request send
  16. Const ORS_MSGTYPE_COUNTERREJECT = "J"  ' originator declined counter proposal
  17. Const ORS_MSGTYPE_DELEGATE      = "L"  ' delegated (notifies delegate)
  18. Const ORS_MSGTYPE_CONFIRMATION  = "N"  ' originator confirmed the meeting
  19. Const ORS_MSGTYPE_PENCILIN      = "P"  ' pencil in meeting request
  20. Const ORS_MSGTYPE_REJECT        = "R"  ' reject meeting request
  21. Const ORS_MSGTYPE_STATUSUPDATE  = "S"  ' originator send status update
  22. Const ORS_MSGTYPE_COUNTER       = "T"  ' counter-proposal (propose change)
  23. Const ORS_MSGTYPE_RESCHEDULE    = "U"  ' originator updated place or time
  24. Const ORS_MSGTYPE_WAITING           = "W"  ' no response
  25. Const ORS_MSGTYPE_REMOVERES     = "Y"
  26. Const ORS_MSGTYPE_REMOVED          = "Z"
  27.  
  28.  
  29. '--- Values for OrgStatus (ORSATTSTATUS)
  30. ' These are stored in the note and should not be translated!!!!
  31. Const ORS_STATUS_REMOVED  = "5"        ' attendee was removed
  32.  
  33. '--- Values for OrgState (ORSATTSTATE)
  34. ' These are stored in the note and should not be translated!!!!
  35. Const ORS_STATE_ROOM       = "5"       ' set for a room
  36. Const ORS_STATE_RESOURCE   = "6"       ' set for a resource
  37.  
  38.  
  39. '--- Values for OrdTable
  40. ' These are stored in the note and should not be translated!!!!
  41. Const ORS_ITEM_CALENDAR    = "C0"
  42. Const ORS_ITEM_TODO        = "T0"
  43. Const ORS_ITEM_CALLS       = "H0"
  44. Const ORS_ITEM_PLANNER     = "P0"
  45. Const ORS_ITEM_ADDRESS     = "D0"
  46. Const ORS_ITEM_NOTEPAD     = "N0"
  47. Const ORS_ITEM_ANNIVERSARY = "A0"
  48.  
  49.  
  50. ' Specifies if event chair needs to send event requests to various participants
  51. Const SO_NONE = 0                                ' No requests need to be sent
  52. Const SO_USERS = 1                            ' Send requests to users
  53. Const SO_ROOMS = 2                            ' Send requests to rooms
  54. Const SO_RESOURCES = 4                        ' Send requests to resources
  55.  
  56.  
  57. ' Flags for cancelling an event
  58. Const REMOVE_CURRENT = 1                    ' Delete the main event
  59. Const REMOVE_RESPONSES= 2                    ' Delete all responses
  60. Const REMOVE_CALENDAR = 4                    ' Remove from the calendar
  61. Const REMOVE_DELETED = 8                    ' User is deleting document manually
  62.  
  63.  
  64. ' Flags that determine which instances a change to a repeating entry are filtered
  65. Const REPEAT_CANCEL = -1                    ' User cancelled modified a repeating entry
  66. Const REPEAT_CURRENT = 0                    ' User wants to modify current instance only
  67. Const REPEAT_ALL = 1                            ' User wants to modify all instances
  68. Const REPEAT_PREV = 2                        ' User wants to modofy current and all previous instances
  69. Const REPEAT_FUT = 3                            ' User wants to modify current and all future instances
  70.  
  71.  
  72. ' Options for determining how an event fits in the repeating "world"
  73. Const CTX_REPEAT_NONE            = 0
  74. Const CTX_REPEAT_MAIN             = 1            ' Main document in hierarchy
  75. Const CTX_REPEAT_INST             = 2            ' Child Event document 
  76. Const CTX_REPEAT_MSG             = 3            ' Workflow message
  77.  
  78.  
  79. Const CS_VERSION_45 = 48                    ' Entry is from version 4.5
  80. Const CS_VERSION_50 = 50                    ' Entry is from version 5.0
  81.  
  82.  
  83. Const CS_STRING = 500
  84. Const CONFIRM_INDEX = CS_STRING+100                ' 600 - 649
  85. Const STATUS_INDEX = CS_STRING+150                ' 650 - 699
  86. Const ROLE_INDEX = CS_STRING+200                    ' 700 - 749
  87.  
  88. ' Shared Strings
  89. Const INC_COMMENTS = CS_STRING
  90. Const ENTRY_PAST = CS_STRING+1
  91. Const ENTRY_CONF = CS_STRING+2
  92. Const ALARM_TITLE = CS_STRING+3
  93. Const PAST_TITLE = CS_STRING+4
  94. Const CONFL_TITLE = CS_STRING+5
  95.  
  96. ' Owner Strings
  97. Const ENTRY_TYPE = CS_STRING+20
  98. Const INV_DUPL = CS_STRING+21
  99. Const ENTRY_DTMOD = CS_STRING+22
  100. Const CANC_TITLE = CS_STRING+28
  101. Const RESC_TITLE = CS_STRING+29
  102. Const STS_TITLE = CS_STRING+30
  103. Const DTMOD_TITLE = CS_STRING+31
  104. Const MODTYPE_TITLE = CS_STRING+32
  105. Const CONF_TITLE = CS_STRING+33
  106. Const SEND_ROOM = CS_STRING+35
  107. Const SEND_RES = CS_STRING+36
  108. Const CTRACPT_TITLE = CS_STRING+37
  109. Const CTRDECL_TITLE = CS_STRING+38
  110. Const REM_PART = CS_STRING+39
  111. Const REM_PART_TITLE = CS_STRING+40
  112. Const RESC_UPD_MSG = CS_STRING + 41
  113. Const CONF_MSG = CS_STRING + 42
  114. Const MA_RESC = CS_STRING + 43
  115. Const MA_CANC = CS_STRING + 44
  116. Const MA_CONF = CS_STRING + 45
  117. Const MA_VWSTS = CS_STRING + 46
  118. Const MA_SNDMAIL = CS_STRING + 47
  119. Const MA_TITLE  = CS_STRING + 48
  120.  
  121. ' Participant Strings
  122. Const RESC_MSG = CS_STRING+100
  123. Const CANCEL_MSG = CS_STRING + 101
  124. Const CANCEL_UPD = CS_STRING + 102
  125. Const CANCEL_NOACTN = CS_STRING + 103
  126. Const ACPT_TITLE = CS_STRING+109
  127. Const DECL_TITLE = CS_STRING+110
  128. Const UPD_TITLE = CS_STRING+111
  129. Const DELE_TITLE = CS_STRING+112
  130. Const CNTR_TITLE = CS_STRING+113
  131. Const ACPT_MSG = CS_STRING+114
  132. Const DELE_MSG = CS_STRING+115
  133. Const CNTR_MSG = CS_STRING+116
  134. Const ADD_MSG = CS_STRING+117
  135. Const ADD_TITLE = CS_STRING+118
  136. Const PA_ACCEPT = CS_STRING+119
  137. Const PA_DECLINE = CS_STRING+120
  138. Const PA_DELEGATE = CS_STRING+121
  139. Const PA_COUNTER = CS_STRING+122
  140. Const PA_TITLE = CS_STRING+123
  141.  
  142. ' MAIL CONSTANTS
  143.  
  144. Const MEMO_DBMANAGER = "6"
  145.  
  146. Const SO_PROMPTSAVE = 8
  147. Const SO_SAVE = 3
  148.  
  149. Const CREATE_STATIONERY = "CreateStationery"
  150. Const SAVE_AS_STATIONERY = "SaveAsStationery"
  151. Const CONVERT_NEW_DOC = "ConvertNewDoc"
  152. Const RENAME_STATIONERY = "RenameStationery"
  153.  
  154. ' out of office
  155. Const SENDTO_USER = "EmailUser"
  156.  
  157. Const CREATE_MEMO = 1
  158. Const CREATE_TASK = 2
  159. Const CREATE_CALENDAR = 3
  160. Const CREATE_GROUPCALENDAR = 4
  161.  
  162. Const MAIL_MEMO_OWNER    = 1
  163. Const MAIL_MEMO_STAT        = 2
  164. Const MAIL_MEMO_READER    = 3
  165. Const MAIL_MEMO_MANAGER    = 4
  166.  
  167.  
  168. ' Common action defines for mail and C&S
  169. ' Although it appears that all of these could be OR'd
  170. ' together, only a subset should be
  171.  
  172. Const ACTION_NONE                    = &h00000000            ' No actions are pending
  173.  
  174. ' These actions control what happens when a document is closed/saved
  175. ' Used by both mail and C&S
  176.  
  177. Const ACTION_CLOSE                 = &h00000001            ' Doc should be closed without saving
  178. Const ACTION_SAVE                 = &h00000002            ' Doc should be saved
  179. Const ACTION_SEND                 = &h00000004            ' Doc should be sent
  180. Const ACTION_FILE                 = &h00000008            ' Doc should be filed in a folder
  181.  
  182. ' h00000010 - h00000080 are reserved for future actions
  183.  
  184.  
  185. ' These actions are used by C&S ONLY
  186. ' These actions can be OR'd with the above ones,
  187. ' but there should exist only one of these (i.e. you cannot cancel and reschedule at the same time)
  188.  
  189. Const ACTION_CANCEL                 = &h00000100            ' Chair is cancelling event
  190. Const ACTION_RESCHEDULE         = &h00000200            ' Chair is rescheduling event
  191. Const ACTION_COUNTER_REJECT     = &h00000400            ' Chair is rejecting proposal
  192. Const ACTION_COUNTER_ACCEPT     = &h00000800            ' Chair is accepting proposal
  193. Const ACTION_CONFIRM             = &h00001000            ' Chair is confirming event
  194.  
  195. ' h00002000 - h00008000 are reserved for future actions
  196.  
  197. Const ACTION_ACCEPT                 = &h00010000            ' Participant is accepting request
  198. Const ACTION_DECLINE             = &h00020000            ' Participant is declining request
  199. Const ACTION_DELEGATE             = &h00040000            ' Participant is delegating request
  200. Const ACTION_COUNTER_PROPOSE     = &h00080000            ' Participant is counter-proposing
  201. Const ACTION_OPENRESCHEDULE     = &h00100000            ' Participant wants to open reschedule
  202. Const ACTION_ADDTOCALENDAR        = &h00200000            ' Participant is adding event to calendar 
  203. Const ACTION_COMPLETED            = &h00400000            ' Participant is completed to do
  204. Const ACTION_REFRESHINFO        = &h00800000            ' Participant wants updated information
  205.  
  206.  
  207. ' These actions are used by mail ONLY
  208.  
  209. Const ACTION_MEMOMGR             = &h01000000            ' User is creating memo to db manager
  210. Const ACTION_DRAFT                 = &h02000000            ' Doc is a draft
  211. Const ACTION_STATIONERY              = &h04000000            ' Doc is stationery
  212. Const ACTION_RENAME                = &h08000000            ' Doc is being renamed
  213.  
  214.