@SetField("$DatePickerMonth";1)' -> set to current month
%END REM
End Sub
Lotus Product
OBJECT
CalendarOutline
CalendarOutlineNotesView
vspacer.GIF
out_Month
$DatePickerMonthV
1S2S
out_rMonth
$DatePickerMonthV
1S2S
O=Lotus Notes
O=Lotus Notes
PURSAFO
|.:#U
O=Lotus Notes
CN=Lotus Notes Template Development/O=Lotus Notes
PURSAFO
$Info
$$Script_O
$$ScriptName
$$FormScript
$$$FormScript_O
$Body
$PublicAccess
"Small Fonts
Lotus Product
Calendar Switcher
GIF89a
?_?__
`!b`1
7`^///?
?b___
`bOOO
`<b!R
ZluxbL6 I
MailFramesetTARGET="_top"
MailFS|MailFS
TodoFramesetTARGET="_top"
ToDoFS|ToDoFS
O=Lotus Notes
O=Lotus Notes
PURSAFO
|.:#U
O=Lotus Notes
CN=Lotus Notes Template Development/O=Lotus Notes
PURSAFO
$Info
$$Script_O
$$ScriptName
$Body
$PublicAccess
Lotus Product
Calendar Title
Calendar
O=Lotus Notes
O=Lotus Notes
PURSAFO
|.:#U
O=Lotus Notes
CN=Lotus Notes Template Development/O=Lotus Notes
PURSAFO
Hrk?JIG
$Info
$$Script_O
$$ScriptName
$Body
$PublicAccess
Calendar Title
NotesNavigatorNotesView?
Calendar Picker?
Switcher
Calendar Switcher?
NotesViewNotesPreview?
($Calendar)|Calendar
NotesPreview
O=Lotus Notes
O=Lotus Notes
PURSAFO
|.:#U
O=Lotus Notes
CN=Lotus Notes Template Development/O=Lotus Notes
PURSAFO
j"jt5O
$TITLE
$Comment
$PublicAccess
$FrameSet
$Flags
Calendar
($Calendar)|CalendarH
Meetings
($Meetings)|MeetingsH
Group Calendars
Group Calendars|(GroupCalendarFolder)?H
Trash
($Trash)
Trash
O=Lotus Notes
O=Lotus Notes
PURSAFO
|.:#U
O=Lotus Notes
CN=Lotus Notes Template Development/O=Lotus Notes
PURSAFO
$PublicAccess
$SiteMapList
(GIF89a
HB22C
NYJN>"
72<(5cLu
hU)US
kMkU7
ftM|bvB
}]Ml0c
uCqmn
{=L.G9~
q?yzsmo
G\iwH
W`!3'
h$w['
*Gh%T(&
r*|&*\
jbJD&4d
Y7wE5wY
)>%o^i
^:&\:fb)
@++cf:%
io!u@
qj.M#Oa
- z6b
BIxMJa
URX"5
%(q<s
.<&2gJ
8D'?-
i3C[v
i7K=}
$]sn)
Y4?:n.
{>xJ0
y/yi&V?
Ep 6g
e<LHLHX^8
.xdn-7
GuE9$
{`gwx
w~wukW^
M&vvO
uy?ht
w~(Uh
m)k y
(u$)#
E\1i>
k\(8f 1
Qxa8%'
Q.U)6
4%C?}n
7^|Q?-
O=Lotus Notes
O=Lotus Notes
PURSAFO
|.:#U
O=Lotus Notes
CN=Lotus Notes Template Development/O=Lotus Notes
PURSAFO
$ImagesWide
$ImagesHigh
$TITLE
$PublicAccess
$ImageData
$ImageNames
'++LotusScript Development Environment:2:5:(Options):0:74
Option Public
Option Explicit
'++LotusScript Development Environment:2:5:(Forward):0:1
Declare Class BaseApplication
Declare Class BaseDocument
Declare Class BaseCSStringTable
Declare Class BaseEventOwnerStringTable As BaseCSStringTable
Declare Class MeetingOwnerStringTable As BaseEventOwnerStringTable
Declare Class TaskOwnerStringTable As BaseEventOwnerStringTable
Declare Class BaseEventParticipantStringTable As BaseCSStringTable
Declare Class MeetingParticipantStringTable As BaseEventParticipantStringTable
Declare Class TaskParticipantStringTable As BaseEventParticipantStringTable
Declare Class MessageTrackStringTable
Declare Class MailToolsStringTable
Declare Class MemoStringTable
Declare Class CopyFactory
Declare Class BaseNoteCopy
Declare Class MemoCopy As BaseNoteCopy
Declare Class CalendarCopy As BaseNoteCopy
Declare Class TaskCopy As BaseNoteCopy
Declare Class GroupCalendarCopy As BaseNoteCopy
Declare Sub NAMEGetComponents(sUserName As String,sRetAbbreviatedName As String,sRetDomain As String)
Declare Function NAMECompare(sName1 As String, sName2 As String) As Integer
Declare Function NAMEFindInList(sKeyName As String, vListOfNames As Variant) As Integer
Declare Function NAMECompareWildcards(Byval sName As String,sWildcard As String) As Integer
Declare Function NAMEGetNumOrgUnits(sName) As Integer
Declare Sub TIMEGetFromItem(sItemName As String, note As NotesDocument, dt1 As NotesDateTime)
Declare Function TIMECompareDates(dt1 As NotesDateTime, dt2 As NotesDateTime) As Integer
Declare Sub TIMEGetNotesFromLS(vLS As Variant, dtNotes As NotesDateTime)
Declare Function TIMEValidateArgs(sItemname1 As String, sItemName2 As String, note As NotesDocument) As Integer
Declare Function STRGetToken(sValue,sToken) As String
Declare Function NAMEAbbreviate(vNamesList As Variant) As Variant
Declare Function TIMEFindInSortedList(vKey As Variant, vTimeList As Variant) As Integer
Declare Function ARRAYIsValid(vArray As Variant) As Integer
Declare Function CSGetMailFileOwner() As String
Declare Sub TIMEGetComponents(sDateItem As String, sTimeItem As String, note As NotesDocument, dt1 As NotesDateTime)
Declare Function NOTEUserIsCreator(note As NotesDocument) As Integer
Declare Function NAMEExistsInList(sKeyName As String, vLIstOfNames As Variant) As Integer
Declare Function NOTECopyIntoNewDocument(Byval iNewType As Integer, Byval iFlags As Integer, note As NotesDocument, strnewform As String) As NotesDocument
Declare Function YesNoPrompt(sPrompt As String, sTitle As String) As Integer
Declare Function YesNoCancelPrompt(sPrompt As String, sTitle As String) As Integer
Declare Function DisplayWarn(sError As String, nPrompt As Integer, sTitle As String) As Integer
Declare Sub TIMEAdjustByDifference(Byval lDifference As Long, dtAdjust As NotesDateTime)
Declare Function CSEventDTItemsModified(vBEObject As Variant) As Integer
Declare Function CSEventNeedsReschedule(vBEObject As Variant) As Integer
Declare Sub CSDocOpen(vBEObject As Variant, note As NotesDocument, dtCalInstance As NotesDateTime, Byval dOptions As Long)
Declare Sub CSDocSave(vBEObject As Variant, vCallBackObject As Variant, Byval dAction As Long, Byval dOptions As Long, vContinue As Variant)
Declare Sub CSDocSaveCalendarEntry(vBEObject As Variant, bOwner As Integer, strCurrentType As String)
Declare Sub CSDocSendPrimaryNotice(vBEObject As Variant, vCallBackObject As Variant, vContinue As Variant)
Declare Sub CSDocUpdatePersonalCategories(note As NotesDocument, profile As NotesDocument)
Declare Sub CSExtAppDocSave(note As notesdocument, Byval daction As Long, bIsTask As Integer, vContinue As Variant)
Declare Sub wInstantiateObjectVariables
Declare Sub wMessagePageHeader
Declare Sub CopyProfileValues(noteSrc As NotesDocument, noteDest As NotesDocument)
Declare Function wGetDBPath As Variant
Declare Sub SetInternationalFormatHelpers( note As NotesDocument)
Declare Sub wMarkTempFields(doc As NotesDocument)
Declare Sub wCreateDefaultCalendarProfile
Declare Function wGetCalendarProfile As Integer
Declare Sub CSDocSaveRepeatingEntry(vBEobject As Variant)
Declare Function CSGetMainEventObject(vBEObject As Variant) As Variant
Declare Sub Initialize
'++LotusScript Development Environment:2:5:(Declarations):0:10
'Common:
%INCLUDE "lsconst.lss"
%INCLUDE "orgconst.lss"
'Back end classes
Dim session As NotesSession
Dim db As NotesDatabase
Dim note As NotesDocument
Dim profile As NotesDocument
Dim item As NotesItem
Dim NameLookup As NotesName
Dim agentlog As noteslog
Dim PathAndName As String
'General Purpose classes
Dim Owner As String
Dim NewDocument As Integer
'Client Differenciation
Dim IsWebClient As Variant
Class BaseApplication
' Properties
m_session As NotesSession ' pointer to current session object
m_db As NotesDatabase ' pointer to current database
m_nClientType As Integer
m_stringtable As Variant ' Reference to a StringTable object
Property Get Session As NotesSession
Set Session = m_session
End Property
Property Get Database As NotesDatabase
Set Database = m_db
End Property
Property Get StringTable As Variant
Set StringTable = m_stringtable
End Property
Property Get DocumentsToProcess As NotesDocumentCollection
Set DocumentsToProcess = m_db.UnprocessedDocuments
Class MeetingOwnerStringTable As BaseEventOwnerStringTable
Function GetString(nIndex As Integer, vData As Variant) As String
Select Case nIndex
Case ENTRY_TYPE
GetString = "Changing the entry type will cancel this meeting. Change anyway?"
Case INV_DUPL
GetString = "That person is already invited to this meeting."
Case ENTRY_DTMOD
GetString = "Are you sure you want to change the date/time of this entry?"
Case ENTRY_PAST
GetString = "This entry is being created in the past. Create anyway?"
Case DTMOD_TITLE
GetString = "Change date/time"
Case SEND_ROOM
GetString = "Sending reservation requests to room(s)..."
Case SEND_RES
GetString = "Sending reservation requests to resource(s)..."
Case CTRACPT_TITLE
GetString = "Accept Counter"
Case CTRDECL_TITLE
GetString = "Decline Counter"
Case RESC_UPD_MSG
GetString = "An update notice will be sent to the participants and any rooms/resources you may have requested informing them of this change. "& BaseEventOwnerStringTable..GetString(INC_COMMENTS, Null)
Case CONF_MSG
GetString = "A notice will be sent to the participants confirming this meeting and informing them of the participants' status. "& BaseEventOwnerStringTable..GetString(INC_COMMENTS, Null)
Case MA_RESC
GetString = "Reschedule Meeting"
Case MA_CANC
GetString = "Cancel Meeting"
Case MA_CONF
GetString = "Confirm Meeting"
Case MA_VWSTS
GetString = "View Participant Status"
Case MA_SNDMAIL
GetString = "Send Memo to Participants"
Case MA_TITLE
GetString = "Meeting Activities"
Case SEND_INV_MSG
GetString = "Do you want to send meeting invitations to the appropriate users?"
Case SEND_INVRES_MSG
GetString = "Do you want to send meeting invitations and reservation requests?"
Class TaskOwnerStringTable As BaseEventOwnerStringTable
Function GetString(nIndex As Integer, vData As Variant) As String
Select Case nIndex
Case ENTRY_TYPE
GetString = "Changing the entry type will cancel this to do. Change anyway?"
Case INV_DUPL
GetString = "That person is already a participant of this to do."
Case ENTRY_DTMOD
GetString = "Are you sure you want to change the date this to do is due?"
Case ENTRY_PAST
GetString = "This to do is being created in the past. Create anyway?"
Case MA_RESC
GetString = "Reschedule to do"
Case MA_CANC
GetString = "Cancel to do"
Case MA_CONF
GetString = "Confirm to do"
Case MA_VWSTS
GetString = "View Participant Status"
Case MA_SNDMAIL
GetString = "Send Memo to Participants"
Case MA_TITLE
GetString = "to do Activities"
Case SEND_INV_MSG
GetString = "Send to do assignments to the appropriate users?"
Case SEND_INV_TITLE
GetString = "Send Assignments"
Case RESC_UPD_MSG
GetString = "An update notice will be sent to all participants of this to do informing them of this change. "& BaseEventOwnerStringTable..GetString(INC_COMMENTS, Null)
Case CONF_MSG
GetString = "A notice will be sent to the participants confirming this to do and informing them of the participants' status. "& BaseEventOwnerStringTable..GetString(INC_COMMENTS, Null)
Class MeetingParticipantStringTable As BaseEventParticipantStringTable
Function GetString(nIndex As Integer, vData As Variant) As String
Select Case nIndex
Case RESC_MSG ' Reschedule notice
GetString = "This meeting has been rescheduled. Would you like to open the reschedule notice?"
Case CANCEL_MSG
GetString = "This meeting has been cancelled." ' Message that appears for all cancellation notices
Case CANCEL_UPD
GetString = Me.GetString(CANCEL_MSG, Nothing) & " The calendar entry will be updated to reflect this change." ' User accepted main invitation that is now cancelled
Case CANCEL_NOACTN
GetString = Me.GetString(CANCEL_MSG, Nothing) & " You do not need to take any action." ' The main invitation has not been accepted
Case ACPT_MSG
GetString = "Accepting this meeting request will automatically add this event to your calendar. A reply notice will be sent to " & Cstr(vData) & ". " & BaseEventParticipantStringTable..GetString(INC_COMMENTS, Null)
Case DELE_MSG
GetString = "This request will be forwarded to a person you specify. Any updates regarding this meeting will be sent to the delegee. A reply notice will be sent to " & Cstr(vData) & ". " & BaseEventParticipantStringTable..GetString(INC_COMMENTS, Null)
Case CNTR_MSG
GetString = "You can specify a new date/time for this meeting. A reply notice will be sent to " & Cstr(vData) & ". " & BaseEventParticipantStringTable..GetString(INC_COMMENTS, Null)
Case ADD_MSG
GetString = "This meeting request will be added to your calendar. No reply notice will be sent"
Class TaskParticipantStringTable As BaseEventParticipantStringTable
Function GetString(nIndex As Integer, vData As Variant) As String
Select Case nIndex
Case RESC_MSG ' Reschedule notice
GetString = "The due date for this to do has been changed. Would you like to open the update notice?"
Case CANCEL_MSG
GetString = "This to do has been cancelled." ' Message that appears for all cancellation notices
Case CANCEL_UPD
GetString = Me.GetString(CANCEL_MSG, Nothing) & " The to do entry will be updated to reflect this change." ' User accepted main invitation that is now cancelled
Case CANCEL_NOACTN
GetString = Me.GetString(CANCEL_MSG, Nothing) & " You do not need to take any action." ' The main invitation has not been accepted
Function GetString(nIndex As Integer, vData As Variant) As String
Select Case nIndex
Case TRACKING_STRING+1
GetString = "UNKNOWN "
Case TRACKING_STRING+2
GetString = "In Que "
Case TRACKING_STRING+4
GetString = "DELIVERED "
Case TRACKING_STRING+8
GetString = "DELIVERY FAILED "
Case TRACKING_STRING+16
GetString = "TRANSFERED "
Case TRACKING_STRING+32
GetString = "TRANSER FAILED "
Case TRACKING_STRING+64
GetString = "GROUP EXPANDED "
Case TRACKING_STRING+65
GetString = "Message Tracking"
Case TRACKING_STRING+66
GetString = "Please select recipient(s) to track."
Case TRACKING_STRING+67
GetString = "You may only track messages that you have sent."
Case TRACKING_STRING+68
GetString = "No recipient(s) were selected"
End Select
End Function
End Class
Class MailToolsStringTable
Function GetString (nIndex As Integer, vData As Variant) As String
Select Case nIndex
Case TOOL_STRING
GetString = "Unable to locate your Name & Address Book. Names not added."
Case TOOL_STRING+1
GetString = Str(vData) + " name(s) processed."
Case TOOL_STRING+2
GetString = Str(vData) + " name(s) added to your personal address book."
Case TOOL_STRING+3
GetString = Str(vData) + " name(s) not added; already in your personal address book."
Case TOOL_STRING+4
GetString = "Error adding name(s) to personal address book: " + Str(vData)
Case TOOL_STRING+10
GetString = "Unable to create a calendar entry for your time off."
Case TOOL_STRING+11
GetString = "An Out of office document has been added to your Calendar."
Case TOOL_STRING+12
GetString = "Would you like to create an Out of Office Calender entry?"
Case TOOL_STRING+13
GetString = "Welcome Back! Please disable your Out of Office Agent. To disable the agent, " & _
"Open your Out of Office profile and select the 'Disable' button." & Chr(13)_
& "While you were out, the 'Out of Office' agent notified the following people of your absence." & Chr(13)
Case TOOL_STRING+14
GetString = "Welcome Back! Please disable your Out of Office Agent. To disable the agent, " & _
"Open your Out of Office profile and select the 'Disable' button." & Chr(13) &_
"While you were out, your Out of Office Agent did not notify anyone of your absence."
Case TOOL_STRING+15
GetString = "Welcome Back!"
Case TOOL_STRING+16
GetString = "This is a repeat reminder! Please disable your Out of Office Agent. To disable the agent, " & _
"Open your Out of Office profile and select the 'Enable/Disable' button."
Case TOOL_STRING+17
GetString = "Out of Office Profile ERROR"
Case TOOL_STRING+18
GetString = "ERROR: You must create an Out of Office profile BEFORE running your Out of Office Agent."
Case TOOL_STRING+19
GetString = "ERROR: You must enable your Out of Office profile BEFORE running your Out of Office Agent."
Case TOOL_STRING+31
GetString = " can already read mail."
Case TOOL_STRING+32
GetString = " can already send mail."
Case TOOL_STRING+33
GetString = " can already edit documents."
Case TOOL_STRING+34
GetString = " can already manage the calendar."
Case TOOL_STRING+37
GetString = vData & Chr(13) & "Managers and Designers cannot be modified using the Delegation Profile."
Case TOOL_STRING+38
GetString = "You must add " & Str(vData) & " to either the ""Read and send"" or the ""Read, send, and edit"" list before adding them to the ""Delete"" list."
Case TOOL_STRING+39
GetString = "You must add " & Str(vData) & " to either the ""Read and send"" or the ""Read, send, and edit"" list before adding them to the ""Delete"" list."
Case TOOL_STRING+40
GetString = Str(vData) & " is currently a Manager of this database."
Case TOOL_STRING+41
GetString = Str(vData) & " is currently a Designer of this database. "
Case TOOL_STRING+42
GetString = "You do not have the priviledge to change the ACL settings in this database."
Case TOOL_STRING+43
GetString = "Reminder Please Turn Off your Out Of Office Agent"
Case TOOL_STRING+44
GetString = "Your Out of Office agent is still enabled."
Case TOOL_STRING+45
GetString = "Please ask a Manager or Designer of this database to disable the agent for you."
Case TOOL_STRING+46
GetString = "Lotus Notes Out of Office"
Case TOOL_STRING+47
GetString = "Your 'Out of Office' agent is currently enabled."
Case TOOL_STRING+48
GetString = "Do you want to disable it ?"
Case TOOL_STRING+49
GetString = "Your Out of Office has been disabled."
Case TOOL_STRING+50
GetString = "Please ask a Manager or Designer of this database to enable the agent for you."
Case TOOL_STRING+51
GetString = "Your current location doesn't have a 'Mail Server' specified."'
Case TOOL_STRING+52
GetString = "Please edit your current record and specify your Mail Server."
Case TOOL_STRING+53
GetString = "The Out of Office agent is now enabled to run on the following server: "
Case TOOL_STRING+54
GetString = "When people send you mail between "
Case TOOL_STRING+55
GetString = " and " & vData & " it will inform them of your absence."
Case TOOL_STRING+56
GetString = "The Out of Office agent was not enabled."
Case TOOL_STRING+57
GetString = "You must indicate when you are leaving and when you will be back."
Case TOOL_STRING+58
GetString = "Your return date must be after today's date."
Case TOOL_STRING+59
GetString = "Your return date cannot be earlier than the leave date."
Case TOOL_STRING+60
GetString = "Your return date must be after your leave date."
Case TOOL_STRING+61
GetString = "Preferences"
Case TOOL_STRING+62
GetString = "Add sender to address book"
Case TOOL_STRING+63
GetString = "A contact with your name should not be added to your address book."
Case TOOL_STRING+64
GetString = Cstr(vData) & " conflicts"
Case TOOL_STRING+65
GetString = "Are you sure you wish to exit without enabling your Out of Office agent?"
Case TOOL_STRING+66
GetString = "Do you wish to disable 'Busy Time' for your 'Out of Office' calendar entry?"
Case TOOL_STRING+67
GetString = "Unable to disable 'Busy Time' for your 'Out of Office' calendar entry." & Chr(13) & "Entry not found."
Case TOOL_STRING+68
GetString = "Only the Owner or a Manager may modify the value of 'Owner'"
Case TOOL_STRING+69
GetString = "Your name cannot be found in the ACL, please contact your administrator."
Case TOOL_STRING+70
GetString = "You do not have sufficient rights to edit preferences for this database"
Case TOOL_STRING+71
GetString = "The 'Owner' of a mail file should be specified in 'Hierarchical' format." & Chr(13) & "i.e. John Doe/MyDomain"
Case TOOL_STRING+72
GetString = "Error creating AdminP request, please contact your administrator"
End Select
End Function
End Class
Class MemoStringTable
Function GetString(nIndex As Integer, vData As Variant) As String
Select Case nIndex
Case MEMO_STRING ' task notification mail message
GetString = "Notfication has been sent to "
Case MEMO_STRING+1 ' name a stationery document
GetString = "What would you like to call this stationery?"
Case MEMO_STRING+2
GetString = "This action cannot be performed on a new document."
Case MEMO_STRING+3
GetString = "Please select one document before executing this command."
Case MEMO_STRING+4 ' user trying to copy a document that has the prevent copy bit set
GetString = "This document is prevented from being copied. The body will not be copied into the new document."
Case MEMO_STRING+5
GetString = "Mail Schedule Profile not found. You must define your Mail schedule profile before you can schedule a document."
Case MEMO_STRING+6
GetString = "Your Mail Scheduler agent is currently disabled. The agent must be enabled before you can schedule a document."
Case MEMO_STRING+7
GetString = "Unable to locate your mail schedule profile. A mail schedule profile must exist in your database before you can schedule a document."
Case MEMO_STRING+8
GetString = "Your Mail scheduling profile is not configured to run the Notes mail scheduler. You must set the current status to enabled in order to schedule a document."
Function OkToPerformAction(vData As Variant, Byval iTitle As Integer, Byval lAction As Long, strDialog As String, Byval nOptions As Integer) As Integer
Dim note As NotesDocument
Set note = m_beobject.Document
Select Case lAction
Case ACTION_ACCEPT
Call note.replaceitemvalue("tmpActionType","A")
Case ACTION_DELEGATE
Call note.replaceitemvalue("tmpActionType","D")
Case ACTION_COUNTER_PROPOSE
Call note.replaceitemvalue("tmpActionType","T")
Case ACTION_RESCHEDULE
Call note.replaceitemvalue("tmpActionType","U")
Case ACTION_CANCEL
Call note.replaceitemvalue("tmpActionType","C")
Case ACTION_CONFIRM
Call note.replaceItemValue("tmpActionType","N")
Case ACTION_COMPLETED
Call note.replaceitemvalue("tmpActionType","F")
Case ACTION_COUNTER_ACCEPT
Call note.replaceitemvalue("tmpActionType","B")
Case Else
Call note.RemoveItem("tmpActionType")
End Select
If (m_nEventType = 2) Then Call note.replaceitemvalue("tmpTask","1")
'++LotusScript Development Environment:2:1:CSEventDisableWorkflow:1:8
Function CSEventDisableWorkflow(vUIObject As Variant, strWorkflow As String) As Integer
' Return -1 to bail, 0 to do nothing, 1 to cancel
Dim vBEObject As Variant
Dim strOriginalType As String, strCurrentType As String
Set vBEObject = vUIobject.BEObject
strOriginalType = vBEObject.OriginalType
strCurrentType = vBEObject.CurrentType
If (strOriginalType = strWorkflow) And (strCurrentType <> strWorkflow) Then
' Make sure we have participants before asking
If (vBEObject.WasMailed) Then
If (YesNoPrompt(vuiobject.StringTable.GetString(ENTRY_TYPE, Null),vuiobject.StringTable.GetString(MODTYPE_TITLE,Null))) Then
If (vuiobject.OkToPerformAction(Null, CANC_TITLE, ACTION_CANCEL, "(OwnerDlg)", 0)) Then
CSEventDisableWorkflow = 1
Else
CSEventDisableWorkflow = -1
End If
Else
CSEventDisableWorkflow = -1
End If
End If
End If
End Function
p/pL @XF
@T7xF
=$G`@$L
CpLP:8F
\J\JTCTCTDTD
Lotus Product
SD:~ ;~
SD:~@;~
O(<P4<
O(<PP;
Dt<t<@<@<<H
h h
x"H)p
"X"X"
"h"H"H"8"8"
tAtA#
'x'x'
@+@+P+P+
.h.h.
dIdI"
4d4d4
l6l6x'
<6\6L6L6
7$7$7
D9D9(+
P:p:,
TBTB|
8FxF\
SD:~`:~
SD:~ ;~
SD:~@;~
O(<P4<
O(<PP;
=~(M&
=~@M&
=~XM&
SD:~8>~pM&
SD:~X>~
SD:~x>~
SD:~X>~
,@<}h
Kx ,
Kx ,
Kx ,
Kx ,@<}d
Kx ,@<}|
Kx ,@<}
Kh",@<}
Kh",@<}
Kh",@<}
Kh",@<}
Kh",@<}
Kh",@<}
Kh",@<}
Kh",@<}
Kh",@<},
Kh",@<}@
SD:]("]
]8"#1
&,tAI8%#
,@<}\
^x'^X'^h'}
^x'JX'
A~$BN
SD:~DB~0N&
SD:~dB~HN&
',@<}
^8)}4
;J8)#
^()K@
A~$BN
SD:~DB~`N&
SD:~dB~xN&
),@<}
^()#1
OP;S C}0
^`+KP+,
^@+KP+,
)TC^`+^@+#8
^@+KP+,
)TC^`+^@+#8
OP;S C}0
/ #}8
^(,)TD\
-N(,PP;
E#N(,P
SD:~(F
SD:~HF~
,,@<}
,,@<}
SD:~HF~
SD:~HF~
,,@<}
G~ O&
SD:~4G~8O&
G~PO&
.-DG#
G}4!#K
G}L!#
#~,H
0,<H}
1,lH#
0,<H}H$#
1,lH#
0,<H}d$#
1,lH#
0}H$}
0}d$}
2-@I##
2-dI##
4Kt4,
;Nd4U$J
Kt4,@<}h
Kt4,@<}
Kt4,@<}
4-0J#
)\J}T']t4]
)\JNd4U$J
^<6N|5PP;
^L6K<6-
^,6KL6,
J}((#
:}\(}
5KL6,4K}X)
5,@<}
)N|5UhK
5,@<}
)N|5UtK
5,@<}
7T|;'
K47,@<}4!}
I$7J47
7Qd9~,H
7Qd9X
LSD:~4L~hO&
LSD:~TL~
8SdL~
L~P@}8,
O=Lotus Notes
O=Lotus Notes
PURSAFO
|.:#U
O=Lotus Notes
CN=Lotus Notes Template Development/O=Lotus Notes
PURSAFO
)1mqV
$TITLE
$Flags
$PublicAccess
$ScriptLib
$ScriptLib_O
'++LotusScript Development Environment:2:5:(Options):0:74
Option Public
Option Explicit
Use "CSEventClass"
'++LotusScript Development Environment:2:5:(Forward):0:1
Declare Class UIEventDocument
Declare Sub Initialize
Declare Function CSUIDocOpen(Byval iType As Integer, source As NotesUIDocument, mode As Integer, isnewdoc As Variant, continue As Variant) As UIEventDocument
'++LotusScript Development Environment:2:5:(Declarations):0:10
Const UI_FLAG_REPEAT = &h00000001
Const UI_FLAG_ALARM = &h00000002
Const UI_FLAG_WASSAVED = &h00000004
Const UI_FLAG_DONOTCLOSE = &h00000008
Class UIEventDocument
m_uidoc As NotesUIDocument
m_uiobject As UIEventObject
m_lFlags As Long
' Properties
Property Get UIObject As Variant
Set UIObject = m_uiobject
End Property
Property Get UIDocument As NotesUIDocument
Set UIDocument = m_uidoc
End Property
Property Get WasSaved As Integer
WasSaved = ((m_lFlags And UI_FLAG_WASSAVED) = UI_FLAG_WASSAVED)
End Property
Property Set WasSaved As Integer
If (WasSaved) Then
m_lFlags = m_lFlags Or UI_FLAG_WASSAVED
Else
If (m_lFlags And UI_FLAG_WASSAVED) Then m_lFlags = m_lFlags Xor UI_FLAG_WASSAVED
End If
End Property
Property Get DoNotClose As Integer
DoNotClose = ((m_lFlags And UI_FLAG_DoNotClose) = UI_FLAG_DoNotClose)
End Property
Property Set DoNotClose As Integer
If (DoNotClose) Then
m_lFlags = m_lFlags Or UI_FLAG_DONOTCLOSE
Else
If (m_lFlags And UI_FLAG_DONOTCLOSE) Then m_lFlags = m_lFlags Xor UI_FLAG_DONOTCLOSE
End If
End Property
Sub New(source As NotesUIDocument, nType As Integer, bOwner As Integer)
Set m_uidoc = source
Set m_uiobject = New UIEventObject(nType, bOwner)
End Sub
Sub PerformActionAndClose(vData As Variant, Byval iTitle As Integer, Byval dAction As Long, strDlg As String, Byval dOptions As Long)
If m_uiobject.OkToPerformAction(vData, iTitle,dAction,strDlg,dOptions) Then
If Not m_uidoc.editmode Then m_uidoc.editmode = True
Call m_uidoc.reload
Call m_uidoc.save
Call m_uidoc.close
End If
End Sub
Sub QueryOpen(nMode As Integer, bIsNew As Variant, bContinue As Variant)
Dim vBEObject As Variant, vSelectedDT As Variant
Dim ws As New notesuiworkspace
Dim note As NotesDocument, notetmp As NotesDocument
Dim item As NotesItem
Dim dtCalDate As NotesDateTime
Dim bNeedsDate As Integer
m_uidoc.AutoReload = False
Set note = m_uidoc.document
Set vBEObject = m_uiobject.BEObject
Set dtCalDate = m_uiobject.CSEventGetCalendarInstance(bNeedsDate, note)
'++LotusScript Development Environment:2:5:(Options):0:74
Option Public
'++LotusScript Development Environment:2:5:(Forward):0:1
'++LotusScript Development Environment:2:5:(Declarations):0:2
$Subscription
$HLMLastServer
.,$ //:
$HLMLastChecked
.,$, , :
$NoPurge
.,$, , :
$HLType
Mail Subscription
xxDisabled
Disabled
1S2S
$HlDisabled
xxDisabled"
0R2S3S4S6S7S8S10SDispDisabled
MainTable
MainTable
Name
Subscription name:
Enter a subscription name
$HLTitle
Retrieval
$HLType
1S2S
Get:
$QueryType
All incoming mail | allIncoming mail that matches any checked item: | sel
QueryType
QueryType
CritSentOnlyToMe
Sent only to me|1
CritSentDirectlyToMe
Sent directly to me (I am explicitly listed in the "To:" field)|1
CritHighPriority
High priority or importance |1
CritReturnReceipt
A return reciept is requested|1
CritToDo
To Dos assigned to me|1
CritToDoComplete
Completed To Dos|1
CritMeetInvite
Meeting invitations|1
CritMeetResponse
Meeting responses|1
CritFrom
From:|1
CritFrom
1S2S
CritFromNames
Enter the fully qualified name. (ex. "John Doe/Acme/Sales/US"). Separate multiple names with a comma.
Enablement
$HLEnabled is the old enabled flag with a value of either 1 or 0. For UI simplicity, it was changed to $HLDisabled with a possible value of either 1 or null
This Agent requires build 164 & Server with a r5 Public NAB, you must resave all master holiday documents if created with 161.1 Also note: the APPTUNID item must match the UNID of the document in the public NAB. a resave will correct this if the document has been 'cut and pasted'EH41fL3
tmpDisplayDate_PreviewTime/date memo was created or mailed.
tmpDisplayDate_Preview
tmpAlarmSounds
Path_Info
Path_Info
Query_String
Query_String
SignatureOption
DialogMode
DialogMode
Preference
User configuration
Owner of this mail file:
xxNO_OWNER
No owner has been specified for this mail file
0S0E
Owner
xxNO_OWNER{
0R3S4S5S
Owner
Owner
SpellCheck
Automatic Spell Checking|1z
SpellCheck
FormatReplies
Formatted Replies with an offset character|1
FormatReplies
OffSetChar
>|1<|2<<|3>>|4z
OffSetChar
Basics
DefaultLogo
Bouncy Earth|StdNotesLtr1Buck Rogers Mail|StdNotesLtr2Computer Chip|StdNotesLtr3Decco|StdNotesLtr4Falling Spheres|StdNotesLtr5Frank Lloyd|StdNotesLtr7From The Desk|StdNotesLtr8Gateway|StdNotesLtrGatewayGeometry |StdNotesLtr9Gray Gradient with Lines|StdNotesLtr13Green and Yellow Diamond|StdNotesLtr14Leaves|StdNotesLtr6Marquee|StdNotesLtr34Metal Plate|StdNotesLtr15Pencil and Grid|StdNotesLtr16Plain Text|StdNotesLtr0Pony Express|StdNotesLtr17Post Mark|StdNotesLtr33Primative|StdNotesLtr20Purple Geometry|StdNotesLtr18Slashed Lines with Globe|StdNotesLtr21Squiggle with Backdrop|StdNotesLtr22Squiggly Line|StdNotesLtr23Tacks|StdNotesLtr24Tape|StdNotesLtr25Teal and Yellow Lines|StdNotesLtr26Three Dimensional Relief|StdNotesLtr27Torn Paper|StdNotesLtr28Triangle with Dots 2|StdNotesLtr30Triangles|StdNotesLtr29Wild Confetti|StdNotesLtr32z
Only the following users can request my free time information:
AllowBusyAccess
Freetime
EnableAlarms
Enable alarm notifications|1
EnableAlarms
1S2S
EnableAlarms
1S2S
Default Alarms
SetAlarmAppointment
Appointments/Meetings|1
AppointmentLead
AppointmentLead
3S4S
AppointmentLead
minute(s) in advance
SetAlarmReminder
Reminders|1
ReminderLead
ReminderLead
3S4S
ReminderLead
minute(s) in advance
SetAlarmEvent
Events|1
EventLead
EventLead
3S4S
EventLead
day(s) in advance
SetAlarmAnniversary
Anniversaries|1
AnniversaryLead
AnniversaryLead
3S4S
AnniversaryLead
day(s) in advance
SetAlarmTask
Tasks|1
.,$///:
TaskLead
TaskLead
3S4S
TaskLead
day(s) in advance of due date
Default sound:
EnableAlarms
1S2S
AlarmSound
tmpAlarmSounds
Alarms
Calendar View Display
Time Slot Start:
.,$ //:
CalendarTimeSlotStart
Time Slot End:
.,$ //:
CalendarTimeSlotEnd
Time Slot Interval:
CalendarTimeSlotDuration
15 minutes|1530 minutes|3060 minutes|60
Views
AutoProcessMeetings
1S2S
AutoProcessType
AutoProcessType
3S4S6S8S
AutoProcessType
Do not automatically process meeting invitations|DAutomatically process meeting invitations from all users|0Automatically process meeting invitations from the following users|2Delegate meeting invitations to the following person|1
AutoProcessType
1S2S
AutoprocessUserList
AutoProcessType
1S2S
Size=40
AutoProcessForwardTo
AutoRemoveFromInbox
Remove meeting invitations from my Inbox after I respond to them|1
PreventRepliesFromInbox
Prevent meeting replies from appearing in my Inbox|1
Autoprocess
TaskFollow
Always show current To do's on today's calendar|1
To Do
Calendar
Calendar
The following people/groups can:
Read my mail and read my calendar:
ReadMailz
ReadMail
Read and send mail on my behalf and read my calendar:
WriteMail
WriteMail
Read, send, and edit any document in my mail file:
EditMailz
EditMail
Delete mail and calendar entries (allowed for those who can send or edit mail (Default = Author)
DeleteMailz
DeleteMail
*Other (Designer or Manager)
.,$, , :
OtherUsers
0S0E
OtherUsers
*These entries cannot be modified from this dialog
Mail Delegation
Calendar Read Access
PublicRead
3S4S
PublicRead
Everyone can read my calendar|1Only the following people/groups can read my calendar|0
PublicRead
1S2S
ReadCalendar
Calendar Create/Edit Access
PublicWrite
3S4S
PublicWrite
Everyone can manage my calendar|1Only the following people/groups can manage my calendar|0
PublicWrite
1S2S
WriteCalendar
Calendar Delegation
Delegation
Owner
$BusyName
$NoPurge
$NoPurge
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
0S0E
$AvailableDays
$PublicAccess
$CSVersion
Categori_zeK
_Edit Document
Send Docu_ment
_Forward
_Move To Folder...
_Remove From FolderK
Categori_zeK
_Edit Document
Send Docu_ment
_Forward
_Move To Folder...
_Remove From FolderK
O=Lotus Notes
O=Lotus Notes
PURSAFO
|.:#U
O=Lotus Notes
CN=Lotus Notes Template Development/O=Lotus Notes
PURSAFO
$HTMLDocumentStyles
$DialogMode
$Info
$WEBQuerySave
$WEBQueryOpen
$AppHelpFormula
$WebFlags
$Script
$$Script_O
$$ScriptName
$$FormScript
$$$FormScript_O
$$SignatureOption
$SignatureOption_O
$$Signature_2
$Signature_2_O
$$Signature_1
$Signature_1_O
$$Signature
$Signature_O
DefaultDuration
AutoAnniversaryRepeat
$Times1
$Times2
$Times3
$Times4
$Times5
$Times6
$Times7
AppointmentLead
ReminderLead
EventLead
AnniversaryLead
TaskLead
CalendarTimeSlotStart
CalendarTimeSlotEnd
$Body
$V5ACTIONS
$ACTIONS
$PublicAccess
Lotus Product
(DeleteSentDlg)
0S0E
Cancel
Action
You are about to delete the selected document(s) from the Sent view. This action will delete the selected document(s) from
folders they belong to.
Would you like to continue deleting these documents or remove them from the Sent view instead?
'if the UNID is missing or invalid, exit gracefully
On Error Resume Next
Dim forwardedNote As NotesDocument
Set forwardedNote = db.GetDocumentByUNID( UNID$ )
On Error Goto ErrorRoutine
If forwardedNote Is Nothing Then
note.AbortGracefully = "1"
Exit Sub
End If
note.AbortGracefully = "0"
note.subject = forwardedNote.subject(0)
note.sendto=""
note.copyto=""
note.blindcopyto=""
Exit Sub
ErrorRoutine:
Messagebox Error & " (wMemoOpen)"
Exit Sub
End Sub
Lotus Product
O=Lotus Notes
O=Lotus Notes
PURSAFO
|.:#U
O=Lotus Notes
CN=Lotus Notes Template Development/O=Lotus Notes
PURSAFO
!Mgax
$TITLE
$AssistType
$AssistLastRun
$AssistDocCount
$AssistFlags
$AssistTrigger
$AssistInfo
$AssistQuery
$AssistAction
$AssistAction_Ex
$PublicAccess
Untitled
sidebar.gif
Welcome to the Notes Group Calendar. It provides an overview of a group's scheduled time and lets you easily display the individual calendars for each member in the group.
To display a person's calendar, simply click on their name.
To display the details of any busy block, just click on the block.
To display future schedules, scroll the time display using the scroll bar or flip to coming weeks using the buttons just to the left of the date/time header.
Note: Free and busy time information is only maintained for current and future times; the group calendar therefore always displays "No Info" for past times and days.
Only the following users can request my free time information:
AllowBusyAccess
Freetime
Freetime
Freetime
AutoProcessMeetings
1S2S
AutoProcessType
1S2S
AutoProcessType
AutoProcessType
3S4S6S8S
AutoProcessType
Do not automatically process meeting requests|DAutoprocess meeting requests from all users|0Autoprocess meeting requests from the following users|2Forward meeting requests to the following person|1
AutoProcessType
1S2S
Size=40
AutoprocessUserList
Size=40
AutoProcessForwardTo
AutoRemoveFromInbox
Remove event requests from my Inbox after I respond to them|1
PreventRepliesFromInbox
Prevent event replies from appearing in my Inbox|1
Autoprocess
Autoprocess
Autoprocess
Defaults
Appointment/Meeting time duration:
DefaultDuration
DefaultDuration
DefaultDuration
3S4S5S6S7S8S9S10S12S
DefaultDuration
(minutes)
Anniversary yearly repeat:
.,$///:
AutoAnniversaryRepeat
AutoAnniversaryRepeat
AutoAnniversaryRepeat
3S4S5S6S7S8S10S12S
AutoAnniversaryRepeat
years
PreventAll
Display calendar entries in All Documents view|1
PreventSent
Display meeting invitations in Sent view|1
Entries
Entries
Entries
PublicRead
1S2S
The following people/groups can:
Read my mail and read my calendar:
ReadMailz
ReadMailsize=40
Read and send mail on my behalf and read my calendar:
WriteMail
WriteMailsize=40
Read, send, and edit any document in my mail file:
EditMailz
EditMailsize=40
Delete mail and calendar entries
(allowed for those who can send or edit mail)
DeleteMailz
DeleteMailsize=40
*Other (Designer or Manager)
.,$, , :
OtherUsers
0S0E
OtherUsers
*These entries cannot be modified from this dialog
Calendar Read Accesss
PublicRead
3S4S
PublicRead
Everyone can read my calendar|1Only the following people/groups can read my calendar|0
ReadCalendar
Calendar Create/Edit Access
PublicWrite
3S4S
PublicWrite
Everyone can manage my calendar|1Only the following people/groups can manage my calendar|0
PublicWrite
1S2S
WriteCalendar
Calendar
Calendar
Calendar
Owner
$BusyName
$NoPurge
$NoPurge
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
0S0E
$AvailableDays
$PublicAccess
$CSVersion
Categori_zeo
_Edit Document
Send Docu_ment
_Forward
_Move To Folder...
_Remove From Folder
Save and Close<
0S0E
Hide if 'New doc' button was clicked
QUERY_STRING_DECODED
0R1S2S6S
0R1S2S
act_save.GIF|act_CSSAVE?
Cancel
0S0E
Hide if person clicked 'New doc' button
QUERY_STRING_DECODED
0R1S2S6S
0R1S2S3S4S
act_DELETE.GIF|act_DELETE?
Categori_ze
_Edit Document
Send Docu_ment
_Forward
_Move To Folder...
_Remove From Folder
Save and Close<
0S0E
Hide if 'New doc' button was clicked
QUERY_STRING_DECODED
0R1S2S6S
0R1S2S
Cancel
0S0E
Hide if person clicked 'New doc' button
QUERY_STRING_DECODED
0R1S2S6S
0R1S2S3S4S
O=Lotus Notes
O=Lotus Notes
PURSAFO
|.:#U
O=Lotus Notes
CN=Lotus Notes Template Development/O=Lotus Notes
PURSAFO
$Info
$WINDOWTITLE
$WEBQuerySave
$WEBQueryOpen
$WebFlags
$$Script_O
$$ScriptName
$Times1
$Times2
$Times3
$Times4
$Times5
$Times6
$Times7
DefaultDuration
AutoAnniversaryRepeat
$NoPurge
$Body
$V5ACTIONS
$ACTIONS
wAddressOpen
Lotus Product
OBJECT
wResources'++LotusScript Development Environment:2:5:(Options):0:66
'++LotusScript Development Environment:2:5:(Forward):0:1
Declare Sub Initialize
'++LotusScript Development Environment:2:5:(Declarations):0:2
'++LotusScript Development Environment:2:2:BindEvents:1:129
Private Sub BindEvents(Byval Objectname_ As String)
Static Source As FIELD
Set Source = Bind(Objectname_)
End Sub
'++LotusScript Development Environment:2:2:Initialize:1:10
Sub Initialize
End Sub
Lotus Product
V0.0E
<NOSCRIPT><H2>
This page requires JavaScript 1.1 or higher
</H2><HR></NOSCRIPT>
<SCRIPT LANGUAGE="JavaScript"><!--
_version_=10 //--></SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.1"><!--
_version_=11 //--></SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.2"><!--
_version_=12 //--></SCRIPT>
<SCRIPT LANGUAGE="JavaScript"><!--
if(_version_<11)
document.write('<H2>
This page requires JavaScript 1.1 or higher
</H2><HR>');
document.close();
//--></SCRIPT>
 
Look in:
<font size=-1>
names.nsf
Addressbooks
0S0E
NABs_1
</font>
Site and Resource:
Size=10
EntryList
names.nsf
($Resources)
0S0E
EntryListFONT Size=2
New Button
Need a newer version of Notes to execute this button.
0S0E
AddClick(fieldResources)
Add >> z
FONT Size=2
Resources
12345678901234567890123456789012
Resources_1FONT Size=2SIZE=4
New Button
Need a newer version of Notes to execute this button.
0S0E
RemoveClick(Resources);
Remove z
FONT Size=2
New Button
Need a newer version of Notes to execute this button.
0S0E
RemoveAllClick()
Remove Allz
FONT Size=2
New Button
Need a newer version of Notes to execute this button.
0S0E
OKClick();
OK z
font size=2
New Button
Need a newer version of Notes to execute this button.
0S0E
CancelClick()
Cancel
font size=2
AddressBooksz
AddressBooks
<SCRIPT LANGUAGE="JavaScript1.1">
// For convenience
var fieldResources = document.forms[0].Resources;
var fieldEntryList = document.forms[0].EntryList;
function OKClick()
// put the values back in the underlying form in the right format