From: Oleg on 4 Jun 2010 07:56 Hello, I have LN 6.5 installed, and would like to automate the login process. The script I use now is pretty awkward, but im still starting to learn VBScript, so this is a big challenge for me :) Set oNotesSession = CreateObject("Notes.Notessession") Set oDb = oNotesSession.GetDatabase("","") Wscript.Sleep 200 Set objShell = WScript.CreateObject("WScript.Shell") Wscript.Sleep 200 objShell.SendKeys "password" WScript.Sleep 100 objShell.SendKeys "{ENTER}" It does the job of logging me in, but doesnt actially open my mail, of course inserting the database name to the GetDatabase brackets doesnt help, I tried to look up LN properties in Obj. Browser, so far I found these: GetDatabase Function GetDatabase(pServer As String, pFile As String, [bCreateonfail As Boolean = True]) As NotesDatabase Member of Domino.NotesSession OpenMail Sub OPENMAIL() Member of lotus.NOTESDATABASE Can someone help if this info is enough and help to use it in the script? Appreciate any tip you can give me to sort this out Thanks
|
Pages: 1 Prev: Rename files to match date stamp Next: Simple hack to get $500 to your home. |