Macro Scheduler Development

Top  Previous  Next

For developers and users of the Macro Scheduler program, your script will need to load and unload the DTWAIN32.DLL (or DTWAIN32U.DLL if the program will use Unicode).  The following small example demonstrates acquiring an image from a TWAIN device and saving to a BMP file:

 

Example

 

For DTWAIN functions that return or are sent floating point values, as well as functions that rely on DTWAIN_ARRAYFLOAT arrays, it is recommended to use string versions of the desired functions, as well as use the array conversion functions to convert from floating point arrays to fixed point arrays.  For more information, please see the Floating Point Issues and DTWAIN.