< s >
I hate Lotus Notes. So much so that I use Outlook on top of it. Unfortunately, there are times when I actually do have to use it. One of the things I hate most about it is the braindead log in dialog. In general I hate log in dialogs, and this one in particular. Unlike ccMail, there didn't seem to be anyway around having to deal with it...until now. Here's a VBScript file (requires the Windows Script Host, of course) that'll launch Notes and supply it with the password.
' Notes.vbs
' Launch Lotus Notes and supply password
Dim oShell
Set oShell = CreateObject("WScript.Shell")
' Add the path to this
oShell.Run "Notes.exe"
' This may be overkill. It's milliseconds and you might
' be able to reduce it
WScript.Sleep 1000
oShell.AppActivate "Lotus Notes"
WScript.Sleep 100
' Replace with your password, but leave the ~
oShell.SendKeys "mypassword~"
I feel so much better now.:-)
George
Ubi caritas et amor, deus ibi est