Short: A handy GUI to clean up .backdrop files Author: Bruce Steers Uploader: http://web ukonline co uk/bsteers/ Type: util/wb Version: 2.0 (30.08.2001) Requires: ARexx, AWNPipe (web.ukonline.co.uk/awnpipe) Architecture: m68k-amigaos Distribution: Aminet, Others please ask me Fix.backdrop Yet another handy utility from Bruce Steers ------------------------------------------- This is an Arexx script i wrote to Clean up the .backdrop file of a disk '.backdrop' holds the info for icons to 'Leave Out' on the workbench it seems you can have many obsolete paths still in this file. reasons for this could be you manualy deleted a 'left out' file or maybe the .backdrop file is an old file Restored from a backUp whatever the reason this GUI will show all files that are listed in a .backdrop file and considders the following errors... if any paths are missing an icon (this will cause file to NOT be left out and is thus Obsolete) If any file paths do not exists. (when WB loads these missing files are still checked (slower)) if a file path is duplicated (causing multiple checking) Usage: ------ To start.. Simply Double Click the Fix.backdrop Icon you must have AWNPipe installed If you do not have AWNPipe then get the latest archive from the support site http://web.ukonline.co.uk/awnpipe/ Fix.backdrop gets a list of devices and finds which ones have .backdrop's Disks that are either 'missing a .backdrop' or are 'Read/Write Protected' will not be listed The Device list is on the left with 'Information' displayed Use this list to select a device once the .backdrop file is checked , if any Paths are Obsolete or Duplicated the 'Fix .backdrop' Gadget Becomes un-disabled Simply Click the 'Fix .backdrop' Gadget to renew the file Press the "AutoFix All" button to run through all devices listed and fix the files if required (note: this is all automated, no requesters). ToolTypes. GADGET_FONT=topaz.font/8 ; these 2 alter the font LIST_FONT=topaz.font/8 ; for the gui AUTOFIX ; automatically starts autofix when loading. AUTOQUIT ; automatically quits after autofix (only works with AUTOFIX) AUTOFIX and AUTOQUIT are for once you decide that you trust what Fix.backdrop does and want it to check/fix all your drives & quit without you doing anything but run it :) Note: There are no cli args , tooltypes only , and tooltypes are read even when running from cli. ---------------------------------------- History: 2.0: ---- Fixed error when "Auto Fix all" finds a bad backdrop file. I had typed FixBackdrop() instead of Fix_Backdrop() Oops Removed the need for using the 'Version' command. Now NO external commands are used :) 1.9: ---- Fixed a bug that caused an 'info' error if you have a space in a drive name. like "Ram Disk:" (i used to rename mine to Ram_Disk: so never saw it) removed the use of the 'C:info' command and used StateF() instead Added a new function AutoFix All = runs through all devices listed and fixes if required. Added some tooltypes. GADGET_FONT=topaz.font/8 ; these 2 alter the font LIST_FONT=topaz.font/8 ; for the GUI AUTOFIX ; automatically starts autofix when loading. AUTOQUIT ; automatically quits after autofix 1.8: ---- Fixed a bug that caused a failiure rather than reporting if there are no .backdrop files found on any non writable disks. (thanks Martin Elsner for reporting that :) 1.7: ---- OOPS!, fixed a bug causing it to fail when fixing :( 1.6: ---- now uses a listbrowser for devices not a cycle gadget. now it beeps when a .backdrop has errors. now it has a gadget to re-read devices for .backdrop files. now window is disabled when updating lists now OpenURL.library is used for the menu urls 1.5: ---- up to version 1.5 i didn't keep any history :( ---------------------------------------- Thanks to: William Parker .. for making the AWNPipe device http://web.ukonline.co.uk/awnpipe/ Michaela Prüß .. for reporting a few little bugs that have now been splatted ;) All the Best Brucey ()_\ () / mailto:bsteers@ukonline.co.uk http://web.ukonline.co.uk/bsteers/