User's Manual
Chapter 3 — Developing and Installing Applications
76 CN3 Mobile Computer User’s Manual for Windows Mobile 6.1
AutoRun supports the following script commands in AutoRun.dat:
AutoRun handles quoted file names for the first parameter, which
allows you to specify path names or file names that contain white
spaces. AutoRun only supports one set of quotes per command.
For more information on AutoRun, see the Intermec Developer
Library Resource Kit Developer’s Guide.
Integrating Image Capture
The Image Capture application on your CN3 provides a way to
capture high-resolution grayscale images. You can integrate Image
Capture into your own applications to take advantage of this feature.
Calling Image Capture From Your Application
To integrate Image Capture features into your existing mobile
application, you need to specify two parameters:
• Path to and name of the Image Capture application. Default is
“\\Program Files\\Intermec\\ImageCapture\\ImageCapture.exe”.
• Path to and name of the .xml configuration file that Image
Capture should use when called by your application. This way you
can use a custom .xml configuration file based on your needs. If no
.xml file is specified, Image Capture uses its default settings, or
looks for an .xml file in its local directory.
This sample code calls Image Capture from its default location and
specifies “ImageCapture_Config.xml” as the custom .xml
configuration file to use:
AutoRun Script Commands
Command Description
EXEC Launches a specified program and waits for it to finish
(up to 10 minutes)
CALL Processes a specified file of commands and returns.
CHAIN Processes a specified file of commands and does not
return.