Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another segment in the What do you WSH for? series
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00431103
Message ID:
00431279
Views:
11
Hey George,
Lotus finally got off their a$$es and did some things with the latest version to enhance the COM interface to Notes. Starting with version 5.0.2b, there is a new COM server called Lotus.Notessession (instead of Notes.Notessession in version 4.X).

The new COM server has an Initialize method that accepts a password parameter. No more dialog!

Any chance of you upgrading at Shaw?

>< 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.:-)
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform