4-14 Chapter 4: Programming
Command-line parameters may include a value for the runtime
duration. If specified, the application remains resident only for the
requested duration. This permits the application to be used only
during defined events such as system start-up, and after which the
application will no longer remain resident in memory. The command-
line parameters may also specify that a background memory-resident
instance of the application should be terminated. In this case, the
application only terminates the background instance, and does not
remain resident itself or invoke the control to set keyclick parameters.
SetUsbKeyClick may be launched “by hand” using the Windows Start >
Run option, or any equivalent shortcut technique (desktop, quick-
launch pad, menu). If started in this manner, the command line can
optionally contain strings of the form “keyword{= value}”, where
keyword is one of the defined parameters, and value is an optional
numeric value to be applied to that key.
The following table gives the available command-line parameters.
Table 5: Command-line Parameters
Keyword
1
Value (Decimal numbers) Value
close Close any background session found n/a
runtime A number of seconds to remain resident,
waiting for additional devices to initialize.
0 = indefinitely
1
Keywords are not case sensitive, and may be abbreviated to 3 or more
characters.