--selectdefault

Top  Previous  Next

--selectdefault

 

Select the default TWAIN device.  The default device is the last one selected by a previous TWAIN enabled application, or if it is the only TWAIN device installed.

Using --selectdefault suppresses the usual "Select TWAIN device" dialog and chooses the device immediately.

 

If --selectdefault or --selectbyname is specified on the command-line, the TWAIN "Select TWAIN device" dialog is not displayed to the user.

 

Example:

twainsave --selectdefault --noui --filetype bmp --filename test.bmp

 

The example above:

Selects the default TWAIN device (--selectdefault)

Acquires with no user interace displayed (--noui)

Acquires to a BMP file called test.bmp (--filetype bmp -f test.bmp)

 

Default Setting:

The TWAIN "Select TWAIN device" dialog is shown if the --selectbyname option is also not specified..