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
Title:
Another segment in the What do you WSH for? series
Miscellaneous
Thread ID:
00431103
Message ID:
00431103
Views:
44
< 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
Next
Reply
Map
View

Click here to load this message in the networking platform