DiskMaster help
5 messages in this thread
Does anyone know if there is a version of DiskMaster that will display
AGA images internally? PP&S wants software questions put in writing and
MAILED to them. No phone help. Thanks.
Leslie –
Probably your best bet is to take an AGA viewer (ViewTek, whatever) and
add it as a command. That way, you could highlight the file and select
"view" the same way you might highlight a text file and select "print".
The manual (I believe) explains how to do this, and there are plenty of
examples in your startup.dm file. The way I did it (in startup.dm) is
this:
AddCmd ViewPic, 60, Extern Graphics:VT/VT %s
where "ViewPic" is the title that shows in the command window, "60" is the
color scheme (feel free to change it! 8^) ), "Extern" is a keyword that
tells DM it's not a built-in ocmmand, "Graphics:VT/VT" is the path to
ViewTek, and "%s" will be replaced by the file name when it is called.
This works even if multiple files are highlighted, it'll call ViewTek for
each one separately. Hope this helps …
Harry
Hmm. I never thought of putting vt as a command. It isn't as easy as
a double click but it's a good idea until PP&S updates DiskMaster II
(which may be never.)
Actually, come to think of it, there is a way to make it happen with a
double-click. Down near the bottom of startup.dm, there're a bunch of
"AddAutoCmd" entries. If you can look at the first few bytes of the files
with a hex dump, you can give the autocommand a mask and the command
string and it'll happen with a double click. For example:
AddAutoCmd GIF8?a, Extern Graphics:VT/VT %s
What this does is to tell DM to use VT to display any GIF87a or GIF89a
file (the first 6 bytes of a GIF file match one of those two strings – the
"?" in the mask represents a wildcard). Sorry I didn't think of this
before, but you know how it is … 8^)
Harry
I'd forgotten about that feature of DiskMaster2. The AddAutoCmd is an
excellent idea! The example you gave about GIF8?a should work and I
should be able to do the same thing with JPEG's as well. Unfortunatly, I
don't think there is an AddAutoCmd way to detect a HAM8 picture.