Here's the new BETA (32-bit)

Get a glimpse of the next XYplorer...
Locked
admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Here's the new BETA

Post by admin »

Download the latest XYplorer BETA version (v7.60.0041, 04-oct-2008).
Choose one: (1) Install Package, (2) No-Install Package (each about 1 MB).

Code: Select all

v7.60.0041 - 2008-10-04 10:07
    * Tree and List: Rename boxes now recognize the following chars as 
      word breaker (dbl-click selection, moving cursor with CTRL):
      .:,; _-~(){}[]<>|/\^°*?!§$%&=+#"'
      Note that illegal filename chars are contained. This is because 
      the routine will later be probably applied to other rename boxes 
      as well which may contain such chars.
    ! List: You could fool the list control into drawing header buttons 
      in non-Details views. Fixed.
    ! Scripting: "+" and "-" were misinterpreted as numeric strings, so
        msg ("+" == "-");
      returned 1 (true, because +0 == -0) instead of 0 (false). Fixed.

admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Here's the new BETA

Post by admin »

Download the latest XYplorer BETA version (v7.60.0042, 06-oct-2008).
Choose one: (1) Install Package, (2) No-Install Package (each about 1 MB).

Code: Select all

v7.60.0042 - 2008-10-06 15:09
    + Edit controls: Now, the Up and Down keys have an additional 
      function if there is no selection.
      Up:   if selection: caret to start of selection and unselect
            else        : caret to start of text
      Down: if selection: caret to end of selection and unselect
            else        : caret to end of text
      Of course, the Edit controls of DropDowns are excluded here since 
      there the Up/Down keys are used to open the DropDown list.
    + Edit controls: Now, Ctrl+Backspace deletes the previous word in 
      all Edit controls (but only if there isn't anything selected). 
      Note:
      - In the Address Bar, the Go To dialog, and the Find Files 
        Location DropDown, word delimiters are:
        \:?|
      - Elsewhere (including all rename boxes), word delimiters are:
        .:,; _-~(){}[]<>|/\^°*?!§$%&=+#"'
    + Configuration | Advanced | Drop-Down Lists: More configuration 
      options for the new DropDown controls:
      - Select list items on mouse hover
        When the list is dropped the mouse selects list items by mere 
        hovering (no buttons pressed).
      - Select all on focus by mouse
        When the control gets focused by clicking into the edit box the 
        current contents are auto-selected.
      - Select all on item change
        When you select a new item from the dropdown list by clicking or 
        pressing [Enter], or you reset the current temporary item by 
        pressing [ESC], the new edit box contents are auto-selected.
      The factory default for all three options is ON.
    * Rename Special | Aaa Aaa.aaa: Now the conversion to Title Case 
      (converts the first letter of every word in string to upper case) 
      uses the same word recognition routine as is used in edit boxes.
      Note that, as before, the extension is always kept lower case.
    * Edit boxes: Key F5 to convert selection to Title Case now also 
      works for Unicode strings.
    * DropDown/Address Bar: Droplist now supports the keys PageUp, 
      PageDown, Home, End.
    * Word breaking in edit boxes: Now, consecutive word breakers at 
      word end are treated as one word breaker. This is standard 
      behavior. E.g. try this in IE or Firefox or XYplorer's AB:
        http://www.xyplorer.com/
      It's broken into 4 parts:
        http:// - www. - xyplorer. - com/
      and not 6 parts:
        http: - / - / - www. - xyplorer. - com/
    ! XY variable <curver> would attempt to retrieve version of files 
      that generally do not have any version info contained. A vain 
      effort. Fixed.
    * UDC dialog: Some controls were not yet Unicode compliant. Fixed.

admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Here's the new BETA

Post by admin »

Download the latest XYplorer BETA version (v7.60.0046, 07-oct-2008).
Choose one: (1) Install Package, (2) No-Install Package (each about 1 MB).

Code: Select all

v7.60.0046 - 2008-10-07 12:55
    + Edit controls: Now all Edit controls, including those of DropDown 
      lists and multi-line boxes, support select-all-on-triple-click. 
      The interval between the consecutive clicks must be <= 
      DblClickTime. The SC "info" displays the current DblClickTime.
    * DropDown/Address Bar: Droplist quits supporting the keys Home and 
      End. They are now applied to the Edit box. It's better.
    ! DropDowns: Match list was not positioned correctly when dropped 
      upwards and list height changed. Fixed.
    ! Address Bar: Horizontally mis-scrolled contents. Fixed.
    ! Rename Special dialog: Ctrl+Enter to go to preview anymore. Fixed.
    ! File List: When empty and in Details view, right-clicking the 
      column headers would pop the white space context menu instead of 
      the column headers context menu. Fixed.
    + The FixFocusLoss tweak is back. Reason: It has a side-effect 
      (XYplorer appears two times in the Application tab of Windows Task 
      Manager) that's completely harmless but might disturb an innocent 
      user.
        [General]
        FixFocusLoss=0
      Set FixFocusLoss to 1 to fix the focus loss of modal popups on 
      taskbar activation (but live with the above mentioned side-effect).
    * The last UserControl has been removed. The long work of removing 
      those creatures from the code is finally completed!

admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Here's the new BETA

Post by admin »

Download the latest XYplorer BETA version (v7.60.0047, 08-oct-2008).
Choose one: (1) Install Package, (2) No-Install Package (each about 1 MB).

Code: Select all

v7.60.0047 - 2008-10-08 11:47
    ! Edit controls: Due to a bug in Triple Click you could not remove 
      the selection by a single click under certain conditions. Fixed.
    * DropDowns: Now the selection in the dropdown list shows the 
      standard coloring.
    + Address Bar: Forgot to mention that click on icon selects all.

admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Here's the new BETA

Post by admin »

Download the latest XYplorer BETA version (v7.60.0049, 09-oct-2008).
Choose one: (1) Install Package, (2) No-Install Package (each about 1 MB).

Code: Select all

v7.60.0049 - 2008-10-09 10:43
    ! With "Resort list immediately after rename" active, the list 
      should NOT be immediately resorted when the rename was done either 
      using TAB (serial rename) or by clicking outside the rename box or 
      other ways to steal the focus from the rename box (where an 
      immediate resort would be perceived as confusing or disturbing). 
      This worked so far, but the list was actually resorted when the 
      name of the file to be renamed was not changed. So there was an 
      unwanted exception from the exception. Fixed.
    ! Problems when exiting app using quick script (e.g. #191; or #192;) 
      in Address Bar. Fixed.
    ! Rename Preview: Drawing glitch on last line. Fixed.
    ! Tree: Possible delays in painting when scolling by wheel. Fixed.

admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Here's the new BETA

Post by admin »

Download the latest XYplorer BETA version (v7.60.0050, 10-oct-2008).
Choose one: (1) Install Package, (2) No-Install Package (each about 1 MB).

Code: Select all

v7.60.0050 - 2008-10-10 11:48
    * List Management: When dragging an item to a new position, pressing 
      ESC will now abort the dragging operation but leave the dialog open. 
      Before, it closed the dialog.
    ! Configuration | Interface Colors | Beveled border: Catalog showed 
      doubled border if checked. Fixed.
    * File List, Win2K only: Worked around a Win2K bug where the Type of 
      unregistered extensions was set to an empty string instead of "EXT 
      File".

admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Here's the new BETA

Post by admin »

Download the latest XYplorer BETA version (v7.60.0051, 11-oct-2008).
Choose one: (1) Install Package, (2) No-Install Package (each about 1 MB).

Code: Select all

v7.60.0051 - 2008-10-11 19:03
    * SC confirm(): Now the optional linebreaker is set to "<br>" by default.
      Syntax: confirm(text, [linebreaker="<br>"])
    ! Calling XY from Run using the line "XYplorer /ini=%tmp%\" did work 
      alright, but the App Data Folder was not reachable because Windows 
      (at least XP) Run converts %tmp% into an DOS 8.3 formatted path (!)
      which was not expected at that point by XYplorer. Fixed. Now the 
      passed app data path is internally converted to the long file name 
      format before processing it further.
    ! Rename Special | RegExp Rename: It was possible to create new 
      filenames that appeared to have trailing spaces (the list showed 
      them as such), using a pattern like "\.html$ >  " (without the 
      quotes). Fixed.
    * Rename Special | Set Extensions: Now you can remove an extension 
      by leaving the input box empty.
    * Rename Special: Renamed command "Aaa Aa.aaa" (sets the file base 
      to title case, converting any letters within the words to lower 
      case) to "Aaa Aa.*" because the extension is actually left 
      untouched.
    + Rename Special: Added command "A* A*.*". It sets the file base 
      to title case, but leaves any upper case letters within the words 
      untouched. The extension is completely left untouched.
      Examples:
        XYplorer_work.ini -> 
                    A* A*.*: XYplorer_Work.ini
                   Aaa Aa.*: Xyplorer_Work.ini
                 aaa aa.aaa: xyplorer_work.ini
                 AAA AA.AAA: XYPLORER_WORK.INI
                      *.aaa: XYplorer_Work.ini
                      *.AAA: XYplorer_Work.INI

admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Here's the new BETA

Post by admin »

Download the latest XYplorer BETA version (v7.60.0052, 12-oct-2008).
Choose one: (1) Install Package, (2) No-Install Package (each about 1 MB).

Code: Select all

v7.60.0052 - 2008-10-12 18:08
    ! File List: Since v7.60.0025 - 2008-09-22 22:00 any current item 
      (= item shown on Info Panel) lost its status of being current 
      after a list refresh (F5, or by Auto-Refresh) under certain 
      conditions. Fixed.
    ! Rename Special | Set Extension: Prompted for a new extension when 
      user passed an empty extension via UDC or scripting. Fixed: Now it 
      just removes any current extension.
    ! Rename Special | Set Extension: When an empty extension was 
      applied to a file without any extension, the whole filename was 
      attempted to be removed. Fixed: Now files without any extension 
      remain untouched when you attempt to remove any extension.
    ! Address Bar: With droplist visible the Browsing Tabs could steal 
      away the mouse input capture with the unwanted effect that you 
      could "click through" the list to the tabs below it. Fixed.

admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Here's the new BETA

Post by admin »

Download the latest XYplorer BETA version (v7.60.0054, 14-oct-2008).
Choose one: (1) Install Package, (2) No-Install Package (each about 1 MB).

Code: Select all

v7.60.0054 - 2008-10-14 13:35
    * Updated the help file.
    * Info Panel | Preview: Removed old restriction to files < 2 GB.
    ! SC compare(): The following wrongly returned -1 instead of 1:
        ::echo compare("10.20.0025", "7.60.0026", "v");
      Fixed.
    ! Menu View | List Style: Selecting a style while holding Shift 
      should toggle the style of the current tab and set all other tabs to 
      that new value. Instead it toggled the styles of the other tabs. 
      Fixed.
    ! Find Files | Excluded Folders: Could not completely and 
      permanently clear the list. Fixed.
    ! Rename Special | Search & Replace: Multiple processing error:
        File        Pattern   New Name
        before.txt  bf>Xf     XXfeXfore.txt   (wrong!!)
                    of>>fx    bexxre.txt      (wrong!!)
      Fixed:
        before.txt  bf>Xf     XfeXfore.txt    (okay)
                    of>>fx    bexfre.txt      (okay)

admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Here's the new BETA

Post by admin »

Download the latest XYplorer BETA version (v7.70.0000, 15-oct-2008).
Choose one: (1) Install Package, (2) No-Install Package (each about 1 MB).

Code: Select all

v7.70.0000 - 2008-10-15 10:24
    = NEW OFFICIAL RELEASE. Main changes since last release:
  +++ New Address Bar Deluxe with icons and optimized usability.
  +++ Color Filters 2.0: Now you can define the *backcolor* of items.
  +++ Unicode support is now complete for all parts of the application.
  +++ Speed: Browsing folders and finding files got faster again.
  +++ Scripting: Now with math, logic, and functions.

admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Here's the new BETA

Post by admin »

Download the latest XYplorer BETA version (v7.70.0001, 17-oct-2008).
Choose one: (1) Install Package, (2) No-Install Package (each about 1 MB).

Code: Select all

v7.70.0001 - 2008-10-17 12:28
    * Icon Overlays: Now they are only retrieved for local locations, 
      not for network locations. Reason: Retrieving icons slows down 
      network browsing even if there are no overlays to be found, and 
      the latter is quite likely the case.
      If you do need Icon Overlays on network locations you can use the 
      following new tweak:
        [Settings]
        ShowIconOverlaysOnNetwork=1
    ! Menu File: The various "Copy Here with Suffix [...]" commands did 
      treat folders with dots in the name as having extensions and 
      inserted the suffix before the dot. Fixed.
    ! XY variables <srctitle> and <srcname> did not work as expected. 
      Fixed.

admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Here's the new BETA

Post by admin »

Download the latest XYplorer BETA version (v7.70.0002, 19-oct-2008).
Choose one: (1) Install Package, (2) No-Install Package (each about 1 MB).

Code: Select all

v7.70.0002 - 2008-10-19 15:40
  +++ Scripting got a powerful new function called Report(). Better 
      reporting has been on my list since years (i.e. long before 
      scripting) but I never got around doing it because I did not like 
      the idea of adding an extra GUI for it, resp. I did not like my 
      GUI ideas for it. Now, with scripting, the perfect GUI-free 
      environment for fully customizable one-click reports is here!
      
      Name:   Report
      Action: Return a report of the current file list contents.
      Syntax: report([template], [onlyselected=0], [header], [footer])
        template: [optional]
          Defines the layout of one line (file record); for each 
          reported file one line is created based on this template.
          If missing or empty: Take the current list data as is.
        onlyselected:
          0: [default] report all current list items
          1: report all currently selected list items
        header: any string data to be put at the top of output
        footer: any string data to be put at the bottom of output
        return: the report
        
      Omitting the Template
      ~~~~~~~~~~~~~~~~~~~~~
      If you omit the template argument (or pass "") the report you get 
      is identical to the list you see: Same types and sequence of 
      columns, same file data in same format. The fields are separated 
      by TAB characters.
      
      Using the Template
      ~~~~~~~~~~~~~~~~~~
      If you use the template argument you are in full control and can 
      decide what is shown, where it is shown, and how it is shown.
      The various file data are defined by fields, corresponding to the 
      columns the file list. A field consists of a field name and, in 
      some cases, an optional format definition, separated from the 
      field name by a single blank. The fields are enclosed in curly 
      brackets {}, and they are not case-sensitive (i.e. a=A).
      Example for a template argument:
       "No. {#}, {name}, {size kb} ({size b}), {modified yyyy-mm-dd}"
      
      The following fields are currently supported (they obviously match 
      the file list's column headers):
      - Browse Mode
        {#}, {Name}, {Ext}, {Size}, {Type}, {Created}, {Modified}, 
        {Accessed}, {Attr}, {Len}
      - Find Mode
        {#}, {Name}, {Ext}, {Size}, {Type}, {Created}, {Modified}, 
        {Accessed}, {Attr}, {Len}, {Path}
      - Drives Mode
        {#}, {Name}, {Type}, {Total Size}, {Used Space}, {Free Space}, 
        {Free %}, {Per Cluster}, {Vol Serial}, {File System}
      
      Optional format definitions for {Size}:
        {Size KBR}    KB (rounded up)
        {Size KB}     KB
        {Size B}      Bytes (no suffix)
        {Size BB}     Bytes (with suffix)
        {Size FLEXR}  Flexible (rounded up)
        {Size FLEX}   Flexible
        {Size RAW}    Raw bytes (no thousand separators)
        {Size MB}     MB
        {Size GB}     GB
        {Size}        [no format: use current Size Column Format]
      
      Optional format definitions for {Created}, {Modified}, {Accessed}:
        {Created yyyy-mm-dd hh:nn:ss}
          etc. ...    the usual date format definitions...
        {Created}     [no format: use current Date Column Format]
      
      Optional format definitions for {#}: 
        {# @@@@}      fill with leading blanks
        {# 000}       fill with leading zeroes
        Note that you cannot combine @ and 0 to have first leading 
        blanks and then leading zeroes.
      
      Additional Special Fields
      ~~~~~~~~~~~~~~~~~~~~~~~~~
      {Fullname}
        - Field is set to the full path/name of the file.
        - Obviously only for Browse and Find modes, not Drives.
      
      {Dir dir_value|file_value|drive_value}
        - Field is set to "dir_value" if item is a directory.
        - Field is set to "file_value" if item is a file.
        - Field is set to "drive_value" if item is a drive.
        Note: "Dir" might be a confusing name for this field, but find a 
        better one... "file system object type"...?

      {Zebra odd_value|even_value[|divisor=2]}
        - Field is set to "odd_value" in all odd lines.
        - Field is set to "even_value" in all even lines.
        - The divisor defaults to 2 but you can set it to any larger 
          value so that e.g. the "even_value" (the value that divides by 
          the divisor without remainder) is set to every 5th line, the 
          "odd_value" to all other lines.
        You can use this field to apply alternate formatting, e.g. to 
        achieve a zebra striping effect if you use HTML for your report, 
        or to group the output into blocks of a certain size. See 
        examples below.
      
      Examples
      ~~~~~~~~
      - ::text report();
        Displays the current file list "as is" in a multiline textbox.
      - ::text report("{modified yyyy-mm-dd hh:nn:ss}", 1);
        Displays the modified date of all selected items in a multiline 
        textbox.
      - ::text report("{name}; {size KBR}; {modified}", ,
          "Report on <curpath>, <date><crlf>", "---");
        Displays a mini-report of the current file list in a multiline 
        textbox.
      - ::text report('The item "{name}" has {size BB}.');
        These fields have nothing to do with scripting variables, hence 
        they are resolved whether single-quoted or not.
      - ::text report('The file "{fullname}" has {size BB}.');
        Displaying the full name.
      - ::text report("{name} is a {dir folder|file|drive}");
        Showing whether item is file, folder, or drive.
      - ::text report("{zebra 1|2} - {#} {name}");
        Prints "1" ("2") in front of every odd (even) line.
      - ::text report("{# @@@@} {name}{zebra |<crlf>|5}");
        Fill leading blanks to the line number, and add an empty line 
        after every 5 lines. Note that the XY variable <crlf> works 
        within the double-quoted argument.
      - ::text report("{name}, {free %}, {total size gb}");
        Mini-report for the drives listing (MyComputer node).
        
      Remarks
      ~~~~~~~
      - The sort order is the one currently present in the file list.
      - The {#} field (line number) is not filled with the line number 
        each file currently has in the file list, but simply numbers the 
        lines in the report starting with 1. This coincides with the 
        actual line numbers in the file list only if the report features 
        all files (no just a subset of selected ones).
      - You can use any number of fields in the template, and it's no 
        problem to use the same field more than once with different 
        format, as in "... {size kb} ({size bb}) ..."
      - The Report() function allows you to create full blown HTML-
        reports of any parts of your file system or of search results! 
        You may even show icons for file types if you provide the image 
        files and give them names that match the extension, e.g. type-
        txt.gif, type-png.gif, etc. which then would be referred to like 
        "C:\Your\Path\type-{ext}.gif" -- yep, as simple as that!
      - In cooperation with soon coming up function WriteFile() you will 
        be able to easily write the created reports to your harddisk.
        
    * File List: Now, no size suffix is displayed for empty files. So, 
      before you have seen "0 KB", now you just see "0". It's clearer 
      for the eye, and even slightly more correct, as "nothing" has no 
      unit.
    ! Menu User | Manage Commands...: Sorting UDCs via drag and drop 
      didn't work. The item position was changed, but it was not saved 
      when clicking ok. Fixed.

admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Here's the new BETA

Post by admin »

Download the latest XYplorer BETA version (v7.70.0003, 20-oct-2008).
Choose one: (1) Install Package, (2) No-Install Package (each about 1 MB).

Code: Select all

v7.70.0003 - 2008-10-20 10:09
  +++ File Find | Contents: Now pattern matching is supported! This 
      means you may enter wildcards * and ? in your content definition.
      Rules:
      - Since larger files are read chunkwise (performance!) there are 
        certain limits to the scope of your pattern:
        A pattern "a*b" is guaranteed to be found if "a" and "b" are 
        within a range of 1,024 bytes! It also *might* be found if "a" 
        and "b" are within a range of 1,001 to 32,768 bytes! It will 
        certainly not be found if "a" and "b" are only within an even 
        larger range.
      - Just like with non-wildcard searches it is assumed that you look 
        for a match anywhere within the file, so asterisks (*) are 
        silently added to your pattern at both ends in case they are 
        missing. This is just to spare you typing too many asterisks. So 
        you may simply enter "D?g" to look for "D?g" anywhere in the file 
        (match file contents with "*D?g*").
    + Now you can define the default start location for a new tab. It's 
      currently done as a tweak, but I'm ready to raise it to the GUI 
      level if demand is there. For example:
        [Settings]
        StartPathNewTab=C:\
      Leave empty to use the location of the current tab.
    ! SC Report(): Returned rubbish if Line Numbers column was 
      invisible. Fixed.

admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Here's the new BETA

Post by admin »

Download the latest XYplorer BETA version (v7.70.0004, 21-oct-2008).
Choose one: (1) Install Package, (2) No-Install Package (each about 1 MB).

Code: Select all

v7.70.0004 - 2008-10-21 14:41
    + Scripting got a new function.
      Name:   WriteFile
      Action: Write data to file.
      Syntax: writefile(filename, data, [on_exist], [mode])
        filename: file full path/name;
                  will be created if does not exist yet
        data:     string data to write
        on_exist:
          o:  [default] create new file/if existing: overwrite
          a:  create new file/if existing: append
          n:  create new file/if existing: do nothing
        mode:
          t:  [default] text ASCII (1 byte per char);
              wide chars (upper Unicode) are represented by "?"
          u:  utf16: 2 bytes per char; with LE BOM at file beginning
              LE BOM = Little Endian Byte Order Mark: 0xFFFE
          b:  binary: raw bytes (also 2 bytes per char, but no BOM)
        return: 1 on success, 0 on failure
      Examples:
        ::$a = writefile("C:\Temp\test_A.txt", "text");
          Creates a 4 byte file.
        ::$a = writefile("C:\Temp\test_A2.txt", "text ".chr(20000));
          Creates a 6 byte file.
        ::$a = writefile("C:\Temp\test-U.txt", "text ".chr(20000), ,"u");
          Creates a 14 byte file (2 bytes BOM + 2 * 6).

      Note: WriteFile() is implemented as a function (instead of a 
      statement) because the return value will be useful once If/Then 
      blocks are implemented. You may, however, call functions without 
      using a dummy variable. See here below.
    + Scripting: Now you may call functions without caring for the 
      return. For example,
        ::writefile("C:\Temp\test_A.txt", "text");
      instead of
        ::$success = writefile("C:\Temp\test_A.txt", "text");
      Internally, the dummy statement "call" is prepended:
        ::call writefile("C:\Temp\test_A.txt", "text");
      In step mode you will see the return of writefile() as argument of 
      "call".
    + Scripting: Comparisons now support the Like (LikeI) operator. 
      General form:
        String Like Pattern   (case-sensitive)
        String LikeI Pattern  (case-insensitive)
      Where string is any string expression and Pattern may contain the 
      usual wildcards and special chars used in XY patterns (*?#[]).
      Examples:
        ::echo "abc" Like "a*"; //1
        ::echo "Abc" Like "a*"; //0!
        ::echo "Abc" LikeI "a*"; //1!
        ::echo "It's " . (<date yyyy> Like "20??"?:"not ") .
          "the 21st century";
          
      Note that capitalization matters: "LIKE" or "Likei" won't work.
    * File List: From now on, "Rename On Slow Double-Click" (menu View | 
      List Style) will only happen when no other than the clicked item is 
      selected. This is a wonderful and relaxing detour from the Windows
      Explorer standard where clicking on any out of a bunch of selected 
      files will enter rename mode -- did you really ever want this to 
      happen??

admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Here's the new BETA

Post by admin »

Download the latest XYplorer BETA version (v7.70.0007, 24-oct-2008).
Choose one: (1) Install Package, (2) No-Install Package (each about 1 MB).

Code: Select all

v7.70.0007 - 2008-10-24 17:40
    + Implemented the first "On Event Action" (OEA), but for now only as 
      a tweak (still meditating about the interface).
        [Settings]
        OEA_ListRightClickOnWhite=0
      The event is "right-click on the list's white space", and you can 
      currently choose between the following actions:
        0 = Popup the Edit menu (as has been before all the time)
        1 = Popup the Shell menu for the current folder
        2 = Do nothing
      Conc. option 0: Just to remind you, in Configuration | Advanced, 
      you currently have two checkboxes where you can specify which 
      commands are shown in the Edit menu.
    + Tree and List: Now, the shell context menu will show "extended 
      verbs" when you hold SHIFT while right-clicking an item. What 
      those "extended verbs" are depends on your system and software.
    * SC writefile(): Now, the filename may be relative to the current 
      path. For example, this line will generate a standard report of the 
      current folder in the current folder:
        ::writefile("report.txt", report());
    * SC WriteFile(): Changed the mode argument to better match 
      ReadFile() (see below).
      Syntax: writefile(filename, data, [on_exist], [mode])
        mode:
          t:  [default] text;
              auto-detects whether text can be written as ASCII or needs
              to be written as UNICODE
          ta: text ASCII (1 byte per char);
              wide chars (upper Unicode) are represented by "?"
          tu: text UNICODE (2 bytes per char);
              with LE BOM at file beginning
              LE BOM = Little Endian Byte Order Mark: 0xFFFE
          b:  binary: raw bytes
              each byte is internally stored as double-byte character 
              with a zero big byte
              corresponds to mode "b" in ReadFile()
    + Scripting got a new function.
      Name:   ReadFile
      Action: Read data from file into string.
      Syntax: readfile(filename, [mode])
        filename: file full path/name, or relative to current path
        mode:
          t:  [default] text
              whether file is ASCII or UNICODE is auto-detected
          b:  binary: raw bytes
              each byte is internally stored as double-byte character 
              with a zero big byte
              corresponds to mode "b" in WriteFile()
      Examples:
        ::$a = readfile("test-in.txt");
          writefile("test-out.txt", $a);
          = Reads text from "test-in.txt" (ASCII or UNICODE) and writes 
            it back to "test-out.txt" (ASCII or UNICODE).
        ::$a = readfile("test-in.txt");
          writefile("test-out-A.txt", $a, , "ta");        
          = Reads text from "test-in.txt" (ASCII or UNICODE) and writes 
            it back to "test-out-A.txt" in ASCII (1 byte per char).
        ::$a = readfile("test-in.txt");
          writefile("test-out-U.txt", $a, , "tu");        
          = Reads text from "test-in.txt" (ASCII or UNICODE) and writes 
            it back to "test-out-U.txt" in UNICODE (2 bytes per char).
      You can actually use ReadFile() and WriteFile() for file copying 
      on a low level (bypassing the Shell):
        ::writefile("test-out.txt", readfile("test-in.txt"));
          = Copy "test-in.txt" to "test-out.txt" (text file).
        ::writefile("xy-out.png", readfile("xy.png", "b"), , "b");
          = Copy "xy.png" to "xy-out.png" (any file, binary or text).
    * SC report(): Changed handling of line feeds.
      - Now, if the template is omitted, each line is terminated with a 
        line feed (0x0D0A). Before, the last line was excluded from 
        this.
      - Now, if you use a template, *you* are responsible for adding any 
        line feed at the end of each line if you want to have one. 
        Before, this was done automatically for all non-last lines. To 
        add the standard Windows line feed (0x0D0A) you can use the 
        internal variable <crlf>, or alternatively the functions chr(13) 
        and/or chr(10).
    ! It could happen (under quite rare circumstances) that Auto-Refresh 
      was magically suspended. Fixed.
    + Rename Special | Batch Rename: Since long, the self-referential 
      wildcard (*) is replaced by the original file base (file title 
      excluding extension). Now, there's a 2nd self-referential wildcard 
      (?) that stands for the original file extension.
      Examples:
        Old     Pattern                 New 
        a.jpg   ?                       jpg.jpg
        a.jpg   *.?.bak /e              a.jpg.bak
        a.jpg   ?-<#001>                jpg-001.jpg
        a.jpg   *.?.<date yymmdd>       a.jpg.081023.jpg
        a.jpg   *.?.<date yymmdd> /e    a.jpg.081023
    * Dialogs User | Manage Commands and Edit | Copy/Move/Backup To... 
      are now centered in screen. Before they were centered in the main 
      window.

Locked