Click or drag to resize

IScriptingEventsOnCurrentProjectCreated Method

Called when a new object is saved for the first time.

Namespace:  SuperOffice.COM.ScriptEvents
Assembly:  Scripting.Interop (in Scripting.Interop.dll) Version: 8.0.0.0
Syntax
void OnCurrentProjectCreated()
Examples

Description

This text may be copied to the notepad, and saved as a *.vbs file.

VB
Sub OnCurrentProjectCreated

if Month(Now) = 6 or Month(Now) =  7 then    
    somessagebox "It's summertime - make sure you add extra time on the activites due to the summer holiday"
elseIf Month(Now) = 12 then
    somessagebox "Christmas just around the corner, are you making a christmasparty?"
end if
End Sub

See Also