This little script written in AutoIt aims to provide password auto-typing for IBM Notes (former Lotus Notes) on Windows only
I'm sick of having to open Keepass just to make it autotype my password into Notes login form (yes... it doesn't allow pasting).
That's why i created this script that opens Notes and types the password right away :)
-
Download the executable here and place it in a folder of your choice (in my case it will be C:\Users\Luca Salvarani\Desktop\Script\notesOpen.exe
)
-
Now just launch it making sure to specify the password with the -p
parameter (otherwise it will print an error and exit).
Example:
- In the field "Destination" of a Windows shorcut or in a CLI applicaion (Command Prompt, PowerShell):
"C:\Users\Luca Salvarani\Desktop\Script\notesOpen.exe" -p=your_password
- Inside Cygwin:
$(cygpath -u "C:\Users\Luca Salvarani\Desktop\Script\notesOpen.exe") -p=your_password
If the password or any other parameter value contains a SPACE character, make sure to enclose it first in single quotes, then in double quotes.
Example:
"C:\Users\Luca Salvarani\Desktop\Script\notesOpen.exe" -p='"your password with spaces"'
Parameter |
Type |
Description |
-p
--password
|
REQUIRED |
Specify password to be sent to the Login form
|
-d
--directory
|
OPTIONAL |
If you proceeded to a custom installation, you may have installed Notes in a custom path.
This parameter lets you define the directory where is located the notes.exe executable file (default is C:\Program Files (x86)\IBM\Notes\notes.exe )
To specify a path containing a space character enclose it first in single quotes, then in double quotes, like this: -d='"C:\My Custom Path\IBM\Notes\"'
|
-u
--username
|
OPTIONAL |
Changes the Username by selecting one in the dropdown.
NOTE: You MUST provide exactly the same value you would pick from the dropdown (in the example below: Luca Salvarani/Italy/Contr/IBM )
|
-l
--location
|
OPTIONAL |
Changes the desired Location by selecting one in the dropdown.
NOTE: You MUST provide exactly the same value you would pick from the dropdown (in the example below: IBM )
|
-w
--wait-input
|
OPTIONAL |
Don't click on the login button after entering the password, but wait for user to click on it manually (it won't prevent the Username or Location to be changed, if present)
|
-t
--timeout
|
OPTIONAL |
Useful when changing the password. Simply autotypes the provided password into the focused element after the provided timeout in ms, so make sure to click into the input field before the timeout expires
|
-x
--debug
|
OPTIONAL |
Enables the Debug Mode. Shows a MsgBox with data useful for debugging
|
-h
--help
|
OPTIONAL |
Prints a small help on the available parameters
|