Hi List, Well, I've been a little reluctant to reply to this thread but I _have_ made a "quick and dirty" tool for this. It was just made to meet my own needs which were to help out some of my colleagues who had a lot of workspaces that didn't perform properly.
It's called WORtjek.mb and can be downloaded at http://mb.breddam.dk Unfortunately it's in danish but it's including source code. Be aware that you'll have to run through the code for any hardcoded stuff (mostly file paths - search for ":\"). It may not do much harm but I do not take any responsibilities ;-) Be also aware that there is a better way of running through all layers: When I "meet" a layer which has to be closed and the app closes it, there would be problems with the loop control if not corrected. The more clean way to do this is to do the loop from the bottom :-) ************* (...) For i = MapperInfo(giWinID, MAPPER_INFO_LAYERS) to 1 Step -1 (...) ************ There's no documentation to the app (see code) Some other features are: - Save all tables from a workspace in a folder on your (danish) desktop including a "new" workspace - Cut out tables and save a copy (cookie cutter) Remember to open your workspace with the "O" button in the app. HTH Søren Breddam GIS- og IT-koordinator Teknik og Erhvervsforvaltningen Stevns Kommune - www.stevns.dk * Tlf.: 5656 1800 * Dir.: 5656 1891 -----Oprindelig meddelelse----- Fra: Mats Elfström [mailto:[EMAIL PROTECTED] Sendt: 29. august 2004 17:29 Til: "Alan Gunn" <Alan Cc: Christine Schildhauer; [EMAIL PROTECTED] Emne: RE: MI-L close unused tabs Hi Alan! I think Christine knows that. I understood her question to be for a clever tool too help weed your workspace from opened files which are not used in mappers, browsers or selections. It can be files just opened to check their contents, test cases and so on. Such files inevitably causes trouble later on if the workspace cannot find them. And many users are unaware of the fact that MI can have dozens of files open and still show nada on the screen. Many years ago, I suggested this enhancement to the author of Workspace Control (4thbeach software) who agreed completely with me on the subject. However, we are still waiting for the next version of Workspace Control. Hälsning/ Best regards Mats.E ________________________ FB Engineering AB Södra Förstadsgatan 26 211 43 Malmö Observera att vi byter telefonnummer 1 september! Tel: 040-665 64 80 från 1/9 040-660 2550 Mobil: 0705-27 60 27 ändras inte Fax: 040-665 69 90 från 1/9 040-660 2599 e-post: [EMAIL PROTECTED] http://www.fbe.se -----"Alan Gunn" <[EMAIL PROTECTED]> wrote: ----- To: "Christine Schildhauer" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> From: "Alan Gunn" <[EMAIL PROTECTED]> Date: 08/28/2004 11:38PM Subject: RE: MI-L close unused tabs Sure, go to file, close table. Choose the tables you want to close (use control to select more than one that are not next to each other). Alan -----Original Message----- From: Christine Schildhauer [mailto:[EMAIL PROTECTED] Sent: Friday, August 27, 2004 4:50 AM To: [EMAIL PROTECTED] Subject: MI-L close unused tabs Hi list, Is it possible to close all those tab-files, which are NOT shown in the current map window to reduce file size and operation time ? Regards Christine Schildhauer Ingenieurgruppe IVV GmbH Saarbrücker Straße 36A 10405 Berlin Tel: (030) 818 772-13 Fax: (030) 818 772-22 MailTo:[EMAIL PROTECTED]:[EMAIL PROTECTED]> http:\\www.ivv-berlin.dehttp://www.ivv-berlin.de/> --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 13108 --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 13125 --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 13127