Saturday, January 17, 2009

v7.90.0054 - 2009-01-17 14:49

  • +++ File Tags. This is work in progress, but to keep you excited I decided to already give you something to play with. File Tags will brings you two things: File Colors and File Comments. The latter is not done yet, but the former works already.

    File Colors
    There is no GUI implemented yet, but the basic idea is that you can one-click-assign a color scheme (text and back color) to the selected list items. Contrary to "Color Filters" this is not wildcard/pattern-based but works on specific files. You might know such a feature from MS Word or from Mac OS ("Color Labels"). I used all tricks to make it real fast so that it should be able to handle thousands of tagged files against huge folders and with lots of color schemes.
    There are 7 default color schemes hard-coded currently (index 1 - 7). In a later stage will be able to add more schemes and edit the default ones. Later you will be able to move/rename files *with* the color (currently the color will be lost). Later you will be able to search files by File Color -- an interesting new way to group files. The search will be *very* fast since only the database (tag.dat) has to be searched, not your disks! Later there will be a new column "Color" by which you can sort the files in each folder.

    The Database: tag.dat
    I decided to give it a human-friendly format. All File Tag data are stored in an UTF-16 Text File named "tag.dat" (in <xydata>) --
    a small header followed by one line per tagged file. The lines are organized like this:
      Filename|Color Scheme Index [a number from 1 to 7]
      Filename|Color Scheme Index|Comment

    Example for tag.dat:
    - - - - - - - - - - - - - - - - - - - - - - - - -
    XYplorer File Tags v1

    - - - - - - - - - - - - - - - - - - - - - - - - -
    You can manually create/edit tag.dat and enter some files actually existing on your system. You then should see the colors on next startup. Note that the file-lines must be sorted alphabetically! XY will do the sorting for you if you close it (saving settings) and restart.
  • ! Catalog: The "Open" command did not support Environment variables. Fixed.
  • ! UDC: The "Open" command did not support Environment variables. Fixed.