KeeRun

KeeRun is a small bonus app. KeeForm automates only the login to web sites. If you want to login to an application (for example an instant messenger), then you could use KeeRun, which can start any program and execute a user defined Auto-type sequence.

The syntax of KeeRun is similar to KeeForm. Here are some examples:

cmd://"{APPDIR}\KeeRun.exe" "C:\Program Files\Yahoo!\Messenger\YahooMessenger.exe" "Yahoo! Messenger" "{USERNAME}" "{PASSWORD}" "{_USERNAME_}{TAB}{_PASSWORD_}{ENTER}" "everyone"

The above command executes the following:

  • Start Yahoo Messenger
  • Wait until a window with "Yahoo! Messenger" in the title and "everyone" in somewhere in the window appears.
  • Execute the "Auto-type" sequence

The last parameter is optional, for most applications the Window Title is enough to identify the application correctly. But with Yahoo Messenger it could be a problem, because the title of the window doesn't change after a successful login. To ensure that the Auto-type sequence is only sent to the login window (and not the contact list), it is better to also specify a text that identifies the login window.

Another example would be the login to a wireless router. Most routers have just a regular web site (where KeeForm could be used). However some routers ask you to enter login information in a popup window (where KeeForm can not be used). This can be automated with

cmd://"{APPDIR}\KeeRun.exe" "C:\Program Files\Internet Explorer\IEXPLORE.EXE http://192.168.0.1/" "Connect to 192.168.0.1" {USERNAME} {PASSWORD} "{_USERNAME_}{TAB}{_PASSWORD_}{ENTER}"

KeeRun also supports a seventh parameter which is optional. This parameter allows the user to alter the method that is used to match window titles during search operations. There are three possible values

  • 1 = Match the title from the start
  • 2 = Match any substring in the title (default)
  • 3 = Exact title match

More information about Window Titles and Text, and Matchmodes can be found at:

http://www.autoitscript.com/autoit3/docs/intro/windowsbasic.htm

http://www.autoitscript.com/autoit3/docs/intro/windowsadvanced.htm