Any idea ?
I have a macro that does the job, but how to start it within a batch
with several hundrets of files ?
Macro:
////////////////////////////////////////////////////////////////
$INCLUDE 'cdi_incl.cbh'
sub main
cv_osl = 0
null_ptr = 0
dimension_osl = CdiCreateLocalOsl(CDI_OBJECT_COLOR, null_ptr,
CDI_REDRAW_OSL)
vwf_load.reload_symbols = CDI_FALSE
vwf_load.read_only = CDI_FALSE
i_ret = CdiLoadFile("XXX.vwf", CDI_FILE_VWF, vwf_load)
vwf_save.overwrite_file = CDI_TRUE
vwf_save.save_symbols = CDI_TRUE
c1.x = 0
c1.y = 0
c2.x = -212299
c2.y = -379335
c3.x = 609899
c3.y = 194693
i_ret = CdiZoom(CDI_ZOOM_WINDOW, 1.000000, c1, c2, c3)
i_ret = CdiSaveFile("XXX.bmp", CDI_FILE_BMP, vwf_save)
end sub
////////////////////////////////////////////////////////////////
thanks in advance,
howie


|