Saturday, September 19, 2009

v8.40.0106 - 2009-09-19 10:16

BETA versions are now only available for registered users.
Find the download link at the bottom of the License Lounge.

  • + Custom Toolbar Buttons: Now you can use XYplorer's own icon set for your custom buttons. All you need to know is the button key (must be lowercase BTW). The syntax is ":key".
    E.g. enter the following to the Icon-field to use the icon of the Recent Locations button for your button:
      :mru
  • + Script Icons: Same as above. Example for a user button context menu definition using internal XYplorer toolbar icons:
      "Recent Locations|:mru" button "mru"
      "Hotlist|:hotlist" button "hotlist"
    That way you can now easily pack all toolbar buttons into the ctx menu of a user button -- not a bad thing! See below for the button command...
  • + Scripting got a new command.
      Name:   button
      Action: Emulates a click on a toolbar button.
      Syntax: button key, [action=1]
        key:  [required] Key that identifies the button.
              You can retrieve the existing keys using the SC toolbar.
        action: [optional]
          0   = do nothing
          1   = left-click [default]
          2   = right-click
          8   = dropdown arrow
          256 = customize toolbar dialog, preselect button "key"
      Examples:
        ::button "mru";           //pops MRU menu at key
        ::button "minitree";      //toggles MiniTree
        ::button "minitree", 2;   //pops ctx menu of MiniTree button
        ::button "back", 8;       //pops dropdown menu of Back button
        ::button "minitree", 256; //open customize toolbar dialog at MT
      Usage:
        Note that using "button" you can trigger also buttons that are
        not part of the current toolbar!
        The command can become useful in the context menu definition of
        User Buttons. E.g., you can wrap a number of rarely used
        buttons into the ctx menu of a single button and thus save
        space on the toolbar.

Friday, September 18, 2009

v8.40.0105 - 2009-09-18 14:30

BETA versions are now only available for registered users.
Find the download link at the bottom of the License Lounge.

  • * View | Current Tab | Views | Details: Now it toggles "Details View" and last view. The last view is global across tabs and panes, and remembered between sessions.
  • * Toolbar: Added button "Details View". Triggers command View | Current Tab | Views | Details.
    If you don't like toggle buttons you have now 3 buttons to switch between the most popular views: Details, List, Thumbnails.
  • * Custom Toolbar Buttons: Forget about the "file:" syntax introduced in v8.40.0103. Not being completely satisfying it was replaced by something better: Now you can use the normal "load" command, even with labels, so you have maximum control over your CTB right-click menu.
    Example (in field Right-Click):
      load "test", "foo" //load script labeled "foo" from "test.xys"
    The file will be loaded and parsed, and then the context menu is shown, with the standard items (Click, Edit... etc) appended at the bottom.
    If the file contains only one script, it is not executed directly (as it would be in a "non-Right-Click" load statement) but shown in the menu.
  • + Scripting: Now you can set a label to "*" in the script resource to mark a script that will match all labels in the load command.
    Example:
      Script resource "hello.xys":
        "Hello : hello" msg "Hello!"
        "Good bye : bye" msg "Good bye!"
        "Go to hell : _hell" msg "Go to hell!"
        "- : *"
        "Cancel : *"
      Calls:
        // will also show the separator and Cancel item in the menu
        load "hello", "hello;bye";
        // will show all items (even hidden)
        load "hello", "*";
        // will show all visible items
        load "hello";
        // will show only items with "*" label
        load "hello", "xxx"; //label does not exist
      Note: If you pass only one label in the load statement then
      this command will be run as usual:
        // will run the item with label "hello"
        load "hello", "hello";
  • ! Scripting: The new syntax
      "Caption|Icon|State : Label" Script
    did not work alright for scripts called by label. Fixed.
  • * History and Recent Locations: Now auto-adjust to rename events.
  • * History: Now, when attempting to go back or forward to a non-existing path that is also not part of the Tree you get a message. As before, the next existing parent path is selected.

Thursday, September 17, 2009

v8.40.0103 - 2009-09-17 15:41

BETA versions are now only available for registered users.
Find the download link at the bottom of the License Lounge.

  • + Custom Toolbar Buttons: Now a special syntax allows reading XYS files before creating a merged right-click menu:
      file:[ScriptFile]
    ScriptFile supports all sorts of smartness you know from the "load" command, so e.g. if you have a XYS file "XYplorer Automatic Updater.xys" in your Scripts folder you can simply do this:
      file:XYplorer Automatic Updater
    Note that Labels are not supported in this construct.
    Note that the construct is meant to be used in the Right-Click field, but it also works in the Left-Click field (where it is not really necessary; "load" does the same with more power).
  • ! List: Context menu performed suboptimal. Fixed.

v8.40.0102 - 2009-09-17 12:20

BETA versions are now only available for registered users.
Find the download link at the bottom of the License Lounge.

  • + Custom Toolbar Buttons. Now you can define a separate script for a user button's right-click event. It is merged with the standard right-click menu for user buttons (where, by the way, the caption "Run" was changed to "Click").
    This means now you can have user buttons that do one thing on left click and pop lots of additional options on right click. Thanks to jacky for a cool idea!
  • + Scripting: Changed yesterday's syntax for item states. No more prefixed "+" or "!". Now you define the states Default (Bold), Checked, and Disabled by combining binary values.
      Syntax:
        "Caption|Icon|State : Label" Script
      where
        State Default  = 1
        State Checked  = 2
        State Disabled = 4
    For example:
      "Go C:|C:|1" goto "C:\"; //shown bold
      "Go D:|D:|2" goto "D:\"; //shown checked
      "Go E:|E:|3" goto "E:\"; //shown bold and checked
  • + Scripting: The following commands are now DEPRECATED (but still supported) and have been converted to functions:
      getkey, strlen, strpos, substr, replace, regexreplace, readurl
    The first argument of the old statement syntax is now the return value of the function.
    Note that the overloading of the keyword (to support statement and function syntax at the same time) is only possible by making distinctive use of parentheses, for example:
      substr($a, "abcdef", 1); echo $a; //not good anymore!!!
      substr $a, "abcdef", 1; echo $a;  //still ok
    The new function syntax does the same much simpler:
      echo substr("abcdef", 1);
  • * SC readurl, now a function, has a new nocookies parameter.
      - ReadURL
      Action: Return the contents of a web file.
      Syntax: readurl(url, [nocookies])
        url:       [required] URL
        nocookies: [optional]
          0 = use cookies
          1 = don't use cookies
        return: url's contents
      Example:
        ::text readurl("http://www.xyplorer.com/index.htm");
  • ! The logic of the PopupMenusAtSelection tweak got corrupted recently. Fixed.

Wednesday, September 16, 2009

v8.40.0101 - 2009-09-16 12:04

BETA versions are now only available for registered users.
Find the download link at the bottom of the License Lounge.

  • +++ Scripting: In a multi-script resource you can now show icons in the popup menu. The new syntax for the caption part of a script is:
      "Caption|Iconfile : Label" Script
    Of course [|Iconfile] and [ : Label] are optional, as is the whole caption.
    Example:
      "Go C:\Temp|C:\Temp" goto "C:\Temp";
      "Go Desktop|Desktop" goto "Desktop";
      "Go XY exe|<xypath>\XYplorer.exe" goto "<xypath>\XYplorer.exe";
      "Open With Photoshop|Photoshop" openwith "Photoshop";
    Note: Iconfile can be any file or folder, and its small system icon (the one you see in Details View) will be used for the menu.
  • + Scripting: In a multi-script resource you can now show a menu item checked by prefixing "+" to the caption. For example:
      "+Show Tree" #668;
      "+Show Catalog" #664;
    Of course, to make use of this option you'd have to programmatically construct the multi-script resource with the help of another script.
  • + Scripting: In a multi-script resource you can now show a menu item in bold (make it look like the default item) by prefixing "!" to the caption. For example:
      "!Go C:" goto "C:\"; //Go C: will be shown in bold
      "Go D:" goto "D:\";
    Notes:
    (1) If you combine Checked and Default, Checked must come first.
        "+!Show Tree" #668;
        "+Show Catalog" #664;
    (2) If you combine Checked and Icons, checked menu items will show
        the checkmark instead of the icon.
  • + Scripting Error Dialog: Now the right-click menu has a command to Copy Error Message.
  • * History: Now non-existing/unavailable paths are not skipped anymore when going back or forward. Before they were skipped (but only in History per Tab -- an inconsistency which could be called a bug).

Tuesday, September 15, 2009

v8.40.0001 - 2009-09-15 09:45

This update was released as a "hotfix" to Official Release v8.40.0000

  • ! Hotlist: Crashed when no recent locations were existing yet, i.e. on a fresh installation. Fixed.

v8.40.0002 - 2009-09-15 11:00

This update was released as a "hotfix" to Official Release v8.40.0000

  • ! Search Templates: Old templates did not work anymore as expected because of a little, uhm, bug. Fixed.

Monday, September 14, 2009

v8.40.0000 - 2009-09-14 12:00

= NEW OFFICIAL RELEASE.
Main changes since last release:

  • +++ Custom Toolbar Buttons. Now you have 10 easily customizable user buttons. You define how the button looks and what it does when pressed. (Pro Edition only)
  • +++ Search Results Caching, Part 2. Now you can store search results in a file and load them back into the list at any point in future via the Search Templates dialog.
  • +++ History and Recent Locations. The implementation of these important navigation tools has been redesigned from scratch.
  • +++ Toolbar. New button "Recent Locations" pops a menu with the 10 recently used locations.
  • +++ Line Numbers Column. Now its width auto-adjusts to the number of items in the list, and it got its own fully configurable color.
  • +++ Cleaner Menus. The main menu has been reorganized to improve usability.

Sunday, September 13, 2009

v8.30.0018 - 2009-09-13 15:32

BETA versions are now only available for registered users.
Find the download link at the bottom of the License Lounge.

  • * Edit User Button dialog: Now browsing for an icon resource uses the Common Dialog interface. Before it used the Browse For Folder interface.
  • * CKS dialog: Renamed "Current assignments" to "Current shortcuts". Seems just a touch friendlier.
  • * List | Details View | Line Numbers Column: One pixel alignment glitch under Vista/Win7. Fixed.

Saturday, September 12, 2009

v8.30.0017 - 2009-09-12 18:42

BETA versions are now only available for registered users.
Find the download link at the bottom of the License Lounge.

  • + Custom Toolbar Buttons: Now you can simply state a registered short form to define an icon. For example, the definition for a button that opens the selected file(s) with Photoshop could be:
      Name:   Open with Photoshop
      Icon:   Photoshop
      Script: openwith Photoshop
  • * Tree, Catalog, List: Default context menu position now shifted a bit to the right and down to enable reading at least part of the captions of the selected items.