Short: v1.26 replaces c:version. New features. Uploader: m-25588@mailbox.swipnet.se (Stefan Smietanowski) Author: Håkan Parting Type: util/sys VersionWB is a replacement for the usual c:version command. If you want the version information to be presented in a requester, this program is for you. Instead of like c:version just tell the version and revision number by default, VersionWB always tells you all it could find. VersionWB have these features: * It will bring up a requester with the version information. * It support several files in the command line parameter template. * You can shift-doubleclick an icon with VersionWB and then get all that version stuff. * You may also pick the file you want to know the version number of by using a file requester. * It will find version strings in WB1.3 libraries and devices, c:version does not, e.g. narrator.device. * If you use it with ToolManager you can have an appicon in your Workbench. Drop the icon on the appicon, and the version information will be presented (if the file contains a version string :-) * It also have an optional text output. Changes from version 1.24: V.1.24 (27.05.96) ----------------- NEW: Multi-file-template. Multi-select-file requester. Thanks, Allan Odgaard, Denmark, who suggested this. Optional text output. Resident libraries and devices can now be loaded. Internal commands do work too, but other resident commands do not work yet. :-( Thanks Fredrik Elmqvist, Sweden, who told me that resident files did not work with VersionWB, and suggested that text output should be implemented. V.1.25 (04.06.96) ----------------- NEW: Asynchronous loading is now implemented. The result is faster loading under certain conditions. Thanks Allan Odgaard, who suggested that I would use that loading method, and told me a bit about it. NEW: Now the filename is showed, when the file was not found. NEW: Cancel button, if one want to cancel a multiselection. Thanks Georges Goncalves, France, who suggested this. BUGFIX: I forgot to clear a variable when multi selection was implemented. $VER: could be in the name field. The cause is the now very complex search routine. I will try to make a better one in the future. BUGFIX: $VER:s width no version number information was not found, now they will, e.g. LIBS:XFD/FIRE. One could wonder why just give information about the file in the $VER:, and no version number. Thanks Stefan Smietanowski, who reported this bug. V.1.26 (30.06.96) ----------------- NEW: Changed the search routine to a faster and smarter one. $VER and Library pointers in the first search. Then pre-two-letter and $VER-search in the second search. With pre-two-letter search a message "Smart version string search used!" is showed in the requester. This search can pick something wrong, but usually does not. (This was previously used every time, on files that did not contain any $VER:, e.g. libraries, devices and doshandlers) The version string in some WB1.3 libraries and devices cannot be find in any other way. As far as I know :-? If you know how to do it, feel free to tell me! I know that it is possible to open the library (OpenLibrary()) or device (OpenDevice()) and than pick the IDString, like c:version in Workbench 1.3 did, but that is not a solution I like. NEW: Some use ascii-code 160 for space instead of 32, these will now be converted. BUGFIX: Text output even though no version string could be found. NEW: FULL and FILE KEYWORDS inserted in template for compatibility with c:version. With FULL you get an text output in one (or two) lines and no fields (FILE:, NAME: or DATE:). FILE has no function. BUGFIX: $DATE and $COPYRIGHT could be showed in the requester. NEW: All memory resident files should work now. (commands that you have made resident by "resident c:copy pure add".) NEW: MUI version and CyperGfx version added to system info. BUGFIX: Some author/miscellaneous texts were not showed, because they were too long, limit changed to 150. This program is Postcard-Ware. If you use it don't forget to send me a postcard of your town. Version 1.26 (03.07.96) Copyright 1994/1995/1996 Håkan Parting