Tuesday, November 18, 2008

v7.80.0009 - 2008-11-18 10:56

  • + New variable: <xyini> = current XYplorer INI file (without path).
  • + Rename Preview: Now you can tweak the color used for zebra striping the filename lists. The format is RRGGBB (as in HTML).
    For example, this will produce a light grey:
      [General]
      RenamePreviewZebraColor=F7F7F7
    If you do not use the tweak (set value to nothing) then the Grid color for Browse mode is used by default.
  • * Scripting Math: Now the operator precedence is (*,/) > (+,-) meaning that * and / are of equal weight, and + and - are of equal weight. Processing is from left to right.
      ::echo 1 - 3 - 3;         // -5! (not 1)
      ::echo 5 - 2 + 1;         //  4! (not 2)
      ::echo 5 - 2 * 2 + 1;     //  2! (not 0)
      ::echo 32 / 4 / 3;        //  2.66! (not 24)
      ::echo 32 / 4 * 3;        //  24!   (not 2.66)
    The above expressions are processed like this:
      ::echo (1 - 3) - 3;       // -5! (not 1)
      ::echo (5 - 2) + 1;       //  4! (not 2)
      ::echo (5 - (2 * 2)) + 1; //  2! (not 0)
      ::echo (32 / 4) / 3;      //  2.66! (not 24)
      ::echo (32 / 4) * 3;      //  24!   (not 2.66)
  • ! Scripting: SC sortby did not work as expected on a dirty sort column (e.g. where a new item has been created but not yet sorted into position).
  • ! Scripting: SC incr did not work with global vars. Fixed.
  • * Quick Scripting: Now, when Quick Scripting is disabled, and you attempt to load a script prefixed with "::" you get a smart message like this:
      ---------------------------
      This location looks like a script:
      ::msg "Hi!"
      Press OK to process it as a script.
      Tip: Enable Quick Scripting in Configuration to skip this message!
      ---------------------------
  • * Info Panel | Properties: Time-Stamping boxes now preselect all when activated.