--selectbyname

Top  Previous  Next

--selectbyname deviceName


Selects the TWAIN driver to use by specifying the Product Name of the TWAIN device.  The deviceName must be one of the product names displayed in the "Select TWAIN device" dialog that is usually displayed when choosing a TWAIN device.  Using --selectbyname suppresses the usual "Select TWAIN device" dialog and chooses the device immediately.


See also --selectdefault to select the default device.


If neither --selectdefault or --selectbyname is specified, the TWAIN "Select TWAIN device" dialog is displayed to the user.


Tip:  If you are having trouble determining the device name to use, you can generate a --devicelist to determine the device name to use with the --selectbyname command.  Since the devicelist will be a JSON list of names, you can copy the device name from the list, and then use the name in the --selectbyname command. 


Example:

twainsave --selectbyname "Fujitsu Limited TWAIN"


Selects the TWAIN driver named "Fujitsu Limited TWAIN" when acquiring images without showing the "Select TWAIN device" dialog.


Default Setting:

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