hi mr.spinney,
here they are, the program you need, for compiling workspace into
image ( i prefer jpg ).
if you have mapbasic, then you can make modification into 'bmp' and
recompile it.
the source code decribed below,
what you need to do is making text file, contains names of all workspace
files you need to convert.
then run application, and specify the text file name.
as attachment i put compiled code under mapbasic 4.0
----
include "mapbasic.def"
declare sub main
dim wid,p as integer
dim wrn,wro,fli as string
sub main
' -- clear the message window
print chr$(12)
' -- display input file name dialog
Dialog
Title "Search"
Control StaticText
Title "Text File Name :"
Control EditText
Into fli
Control OKButton
Control CancelButton
If CommandInfo(CMD_INFO_DLG_OK) Then
open file fli for input as #1
do
' -- input workspace file names from input file & process
line input #1,wrn
close all
run application wrn
p=instr(1,wrn,".")
wro=left$(wrn,p)+"jpg"
print "creating file :"+wro
wid=frontwindow()
save window wid as wro type "JPEG"
loop until eof(1)
close file #1
End If
end sub
----
Jon Spinney wrote:
>
> Hello all:
>
> Does anyone know of a MapBasic utility, app, or batch that will allow me to
> automatically create bmp images from workspaces?
> I have about 1000 images to create, and a manual "save window as" effort is
> far to intensive.
>
> Thanks,
>
> Jon Spinney
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> ----------------------------------------------------------------------
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
--------------------------------------------------------
tommy kurniawan, 12 jalan tera, bandung 40111, indonesia
savewin.MBX