Have you ever gotten to a site and forget what password you used to get
access to that particular site?  How about installing software, and when it
prompts you for the Serial number or CD key, you find yourself having to
search your text file where you wrote it down for safe-keeping, then have to
use the Alt+Tab to cycle back and forth between that file and the Serial
number prompt, until you get the entire serial number typed in?
There are 3rd-party utilities that "Manage" such numbers and passwords, but
that is yet another utility that has to be loaded and, and stay resident,
since you never know when you'll need a particular password or Serial
number!

Check out this JFW script that, (when invoked), presents you with a menu of
such items!  All you do is arrow down to the appropriate item and whack
Enter!
1)  Hit Control+Shift+0 to launch the Script Manager with default.jss
loaded.
2)  Hit Control+End to reach the bottom of the file and whack Enter a couple
of times to get distance from the last script.
3)  Type in, or cut and paste, the following script, replacing the titles
and typed text with your own titles and serial numbers/passwords.


Script PasswordManager()
var
string MenuItems,
int index

let MenuItems="|My Internet Login Password" +
"|SurplusDirectAuction Password" +
"|ParsonsTech CustomerId" +
"|Windows 95C Serial#" +
"|Windows 98 Upgrade CD Key" +
"|WebFerretSerial#" +
"|FileFerretDigitalKey" +
"|CD Connection Access Password" +
"|Office 95 CD Key"


let index=DlgSelectItemInList(MenuItems,"Password/Serial Menu", TRUE)
If(index == 1) Then
TypeString("xyz12345zyx") ; Internet Access Password.
ElIf(index == 2) Then
TypeString("brown99nworb") ;Auction password.
ElIf(index == 3) Then
TypeString("42117347") ;ParsonsTech CID.
ElIf(index == 4) Then
TypeString("222354272923437") ;W95C CD Key.
ElIf(index == 5) Then
TypeString("TYQF74X3AY44FF37GF") ;W98CD Key.
ElIf(index == 6) Then
TypeString("ms4372-94") ;WebFerretProSerial#.
ElIf(index == 7) Then
TypeString("473d-99ff")  ;FileFerretDigitalKey.
ElIf(index == 8) Then
TypeString("FestusDufus") ; Cd Connection account password.
ElIf(index == 9) Then
TypeString("0473324736")  ;Office 97 CD Key.
EndIf
EndScript

4)  While on a line in this script, hit Control+D to enter this script's
Properties section.
5)  Tab down through this box and fill in the Synopsis: with something like
"Password and Serial# Management script", and a Description field with
something like "Menu holding my hard-to-remember passwords and serial
numbers.".
6)  Tab to the AssignTo field and enter a hotkey you want to use to launch
this script from any application.  (It should be a3-key assignment, such as
Alt+Control+P, or Control+Shift+L, etc.)
7)  Whack Enter on Ok and hit Control+S to compile.  If all compiled Ok, hit
Alt+F4 to exit the Script Manager and give your new menu a try!

What it does:
This script builds a menu, with the menu items defined with the "|My
Internet Password" format.  There must be a "|" at the beginning of each
menu item, and it must be within the quotation mark, and there must be a "+"
character at the end of each item, outside the quotation mark.  The only
exception is the last menu item--it doesn't have to have that "+".
The script then calls the function DlgSelectItemInList function, with it's 3
required parameters; the string holding the menu items, the menu title, and
whether you want the menu sorted (TRUE), or not sorted (FALSE).
When the Enter key is hit within the list, the index value is assigned to
the variable "index", then it runs that number through a series of "If/Then"
statements, stopping at the correct one, and executing anything within that
particular statement.  In this case, it is a call to the "TypeString"
function that sends the correct string to the system's current cursor
position.
A comment after each TypeString statement helps you keep track of which menu
item that string is associated to.
Note:  If you need an Enter key hit after the string is sent, place a
{Enter} between the "TypeString" and the next "ElIf" line for that
particular string.

Hope this helps!

Thanks,
Dennis Brown, [EMAIL PROTECTED]
Visit the BlindProgramming  web site at
http://brown99.home.mindspring.com


-
Visit the jfw ml web page: http://jfw.cjb.net

Reply via email to