Thursday, April 30, 2009

v7.90.0151 - 2009-04-30 20:43

  • + Added tweak to skip an extra check for existence/availability before browsing to a folder. Set TreeSkipVerifyOnSelect to 1 to skip the check. It will slightly speed up general browsing, and it will make certain folders (e.g. SYSVOL shares) browsable at all.
    Default is 0.
    - You will get no logon dialogs for password protected
      folders when TreeSkipVerifyOnSelect=1.
    - With the Mini Tree the check is skipped anyway by default.
      Unless you use another tweak and set MiniTreeVerifyOnSelect=1.
    - This tweak overwrites the MiniTreeVerifyOnSelect tweak: if
      TreeSkipVerifyOnSelect=1 then MiniTreeVerifyOnSelect has no
  • * Folder Thumbnails: Reduced supported image extensions to jpg, png, gif (looked for in that order). Who would create a "folder.jpeg" or "folder.bmp" anyway?
  • ! Scripting: Another "if" block bug fixed.
  • ! Scripting: Bug concerning the "$i++/--" syntax fixed.

v7.90.0150 - 2009-04-30 13:40

  • + Catalog | Context Menu: Added command "Duplicate Item". Will insert a copy of the current item above the current item.
  • + UDC dialog: Now, you can easily insert a menu separator by pressing Alt+Ins.
  • * UDC dialog: The "New" button now pops a menu with some options.
  • ! Scripting: Parsing error in certain contexts since Boolean operators were introduced. Fixed.
  • * Scripting: Adapted the order of precedence of Boolean operators to that used in PHP:
      && > || > AND > XOR > OR

Wednesday, April 29, 2009

v7.90.0147 - 2009-04-29 12:41

  • + Configuration | Thumbnails: Added option "Show folder thumbnails". Check it to show thumbnails for folders if possible (see next paragraph). It's OFF by default.
  • + List: Added support for Folder Thumbnails. Now, in Thumbnails view, folders display a thumbnail of any file in the folder named "folder.*" where * is any of the following image extensions: jpg, jpeg, png, gif, bmp (looked for in that order). If no "folder.*" is found, the alphabetically first JPG image in the folder is taken (if any). Yep, even MouseDownBlowUp works on those Folder Thumbnails! :)
  • ! Fixed a "Runtime error '9' subscript out of range" that could result from a complex race condition.
  • * Scripting | Step Dialog: Now the menu command "Copy Script" will copy the current script as multiline block with a header comment, ready for pasting in running. Before it was copied all in one line.
  • ! Scripting: "if" block bug fixed.

Monday, April 27, 2009

v7.90.0145 - 2009-04-27 15:49

Publication of this update was unfortunately extensively delayed due to editing required, and workload of your blog author.

  • +++ Scripting: Added while loops. General syntax:
      while (expression) {
    The nested statement(s) are executed repeatedly, as long as the while expression evaluates to TRUE. The value of the expression is checked each time at the beginning of the loop. If the while expression evaluates to FALSE from the very beginning, the nested statement(s) won't even be run once.

    - Parentheses around the expression are mandatory.
    - Curly braces around the statement block are mandatory
      (even if there is only one statement).

    Example 1: will show 1, then 2, then terminate the script.
      while ($i < 2) {$i++; echo $i;};

    Example 2:
      // will show 1, 2, 3, then terminate the script.
        $x = 3;
        $i = 1;
        while ($i <= $x) {
          echo $i;

    Example 3
      // nested while blocks are okay
        $x = 3;
        $i = 1;
        while ($i <= $x) {
          $w = "Word";
          while ($w != "") {
            echo "$w No. $i";
            $w = "";

    Example 4: expression is FALSE, message will never show.
      while (1 == 2) {echo "Help!"};

  • + Scripting: Now the common increment syntax using the ++ (--) operator is supported.
      ::$i=5; $i++; echo $i; //6
      ::$i=5; $i--; echo $i; //4
      ::$i++; echo $i; //1
    Note that, unlike in some other languages, you cannot use $i++ as an argument. It can only be a single separate statement. A line like "::echo $i++;" will not work.
  • + SC getinfo got a new named argument "countitems".
      Syntax: getinfo("countitems")
        return: Number of items currently in the list.
        echo getinfo("countitems");
  • + SC getinfo got a new named argument "focusedpos".
      Syntax: getinfo("focusedpos")
        return: Position of focused item from top (top = 1).
        echo getinfo("focusedpos");
  • ! List: An sort order bug went undiscovered for a long time. E.g. when you sort the list on Ext/descending, then the Name column order is reversed (=descending) as well. However, on next restart (or re-open of the tab) you would get the Ext column descending but the Name column *ascending*! This would lead to confusion as to what file was the focused file, and other unwanted things. Fixed.
  • * List: Now, when renaming an item no File Info Tips are shown anymore. Before, it would happen that the tips covered the rename box or otherwise disturbed the user.

Sunday, April 26, 2009

v7.90.0144 - 2009-04-26 08:46

  • + File Comments: Added two commands to the Comment column right click menu.
      - "Copy Comment": Copies the comment of the clicked item to the
      - "Paste Comment": Sets the comment of the clicked item to the
        current clipboard text.
  • * File Comments | Comment column right click menu: Renamed
      - "Comment..." to "Edit Comment..."
      - "Last Comment..." to "Set Last Comment..."
  • ! Crash when dropping stuff on a zip file that's associated with PowerArchiver. Fixed.

Thursday, April 23, 2009

v7.90.0143 - 2009-04-23 12:50

  • + Scripting got a new command (I needed it for my holiday fotos).
      Name:   rotate
      Action: Rotate JPG images. Rotation is lossless for typical
              digital camera images.
      Syntax: rotate [mode=90|180|270|h|v], [jpgfile_src],
                     [jpgfile_trg], [only_if_lossless=01]
        mode        = rotation in degrees (clockwise), or
                      horizontal/vertical flip orientation;
                      defaults to 90
        jpgfile_src = JPG file to rotate
                      defaults to current file if empty
                      relative current path if path missing
        jpgfile_trg = target file name
                      defaults to jpgfile_src if empty
                      relative current path if path missing
        only_if_lossless = 0: [default] rotate always
                           1: error if rotation cannot be done lossless
      - ONLY if the width and height of the image are both multiples of
        16, then indeed the rotation is lossless! Luckily, digital
        camera image dimensions are usually multiples of 16. MS has
        buried some deeper info on this here:

        If the image dimensions are not multiples of 16 then colors and
        sharpness will slightly fade if you do many consecutive
        rotations on the same image.
      - And yes, the function will ONLY work on JPG images.
      - EXIF data are preserved.
        ::rotate;     //rotate current image by 90 degrees (clockwise)
        ::rotate 180; //rotate current image by 180 degrees (clockwise)
        //rotate "E:\my.jpg" by 90, but only if it can be done lossless
        ::rotate , "E:\my.jpg", , 1;
        //flip current image horiz., save to "flipped.jpg" in cur path:
        ::rotate h, , "flipped.jpg";
        //save vertically flipped "D:\pic.jpg" to "E:\pic-v.jpg":
        ::rotate v, "D:\pic.jpg", "E:\pic-v.jpg";
      Example for POM:
          |"Rotate 90° clockwise" jpg>::rotate

Wednesday, April 22, 2009

v7.90.0142 - 2009-04-22 10:21

This Beta Update was a summary release containing V7.90.0127 thru v7.90.0142.
Each update is listed separately on this blog for consistency.

  • + Added tweak to customize the item colors used in the Rename Preview to mark successful and conflicting operations.
      ; Tweak: RRGGBB
      RenamePreviewColorOK=     'default 008000
      RenamePreviewColorWarn=   'default FF0000
    The defaults are used if the values are empty.
  • ! Rename Preview: The examples section of the preview dialogs was not well readable in "High Contrast" color schemes. Fixed.

v7.90.0137 - 2009-03-06 10:21

  • ! Error when starting up with empty XYplorer.ini. Fixed.

v7.90.0136 - 2009-03-05 11:01

  • + Now the main window title bar can display Unicode characters.

v7.90.0127 - 2009-03-04 21:22

  • ! Go To dialog: "Auto-complete path/file names" did not work anymore. Fixed.