This is a beta release. It may be unstable. Some text may not be translated yet. Use at your own risk!
Download manually, or use Help > Check for Program Updates (if beta versions are enabled in Preferences / Internet / Updates).
Commands
- Added
Set TYPEFILTERMENUcommand. Lets the filter bar's filetype/group selection menu be accessed from a regular toolbar button.
Scripting
-
Added enhanced support for popup menus in scripts. The new
Dialog.CreateMenu()method returns a new Menu object.-
Menu methods can be used to add and manipulate menu items:
- AddItem([label, [id, [position, [type]]]]) - add a "normal" item (or other types if type specified)
- AddToggle([label, [id, [position]]]) - add a "toggle" item (used with multi-selection)
- AddSeparator([position]) - add a separator
- AddSubMenu([label, [id, [position, [submenu]]]]) - add a submenu
- AddRadioGroup(id, [id, [id...]]) or AddRadioGroup(vector) - define a group of mutually exclusive items (for radio buttons in multi-selection)
- FindItem(id, [by_position]) or FindItem(label) - returns a MenuItem object
- RemoveItem(id, [by_position]) or RemoveItem(label) or RemoveItem(item)
- Show - displays the menu (see below)
-
MenuItem object (returned by the AddXXX and FindItem methods) has the following properties:
- label - displayed item label, use & to mark an accelerator
- type - item type ("item", "toggle", "separator", "submenu")
- id - item ID (numeric)
- data - user data associated with the item
- submenu - Menu object that defines the submenu
- disabled - true if item is disabled
- checked - true if item is checked
- radio - true if item is displayed as a radio button when checked
- bold - true for the "default" item (displayed in bold)
-
Menu.Show()is used to show the menu.- Show(dialog, control[, flags]) or Show(dialog, x, y[, flags]) or Show(x, y[, flags])
- Supports showing the menu attached to a button, over a control or at an arbitrary coordinate.
- Use dialog / control to attach to a button or (for the right button) display at the mouse coordinates over a control
- Use dialog / x/y to show at coordinates relative to a dialog
- Use x/y to show at screen coordinates
- Optional flags are:
- a: auto-assign accelerators
- b: bottom align
- c: center align
- g: right align
- v: vcenter align
- m: multi-select
- r: right button (otherwise assumes left button)
- s: support scroll (an Opus menu will be substituted for a standard Windows menu, which supports showing a scrollbar for long lists. However this does not support multi-selection.)
- If not using multi-selection, return value is the chosen ID or -1
- If using multi-selection,
- Any "toggle" items can be checked on/off without the menu closing
- Any "toggle" items with their radio property set to true will be mutually exclusive with other radio items in the same group (use AddRadioGroup to define groups)
- Return value is a MenuMultiSelResults object with the following properties:
- id: the ID of the chosen item (or -1)
- changed: a vector of item IDs that the user changed
-
-
Buttons in script dialogs have three new properties:
- Split: Displays the dropdown arrow in a separate section rather than part of the main button. Clicking the arrow part of the button will generate a "push" message rather than "click". (requires the Arrow property to also be turned on).
- Immediate: The control will respond on button down rather than button up.
- Arrow: Displays a dropdown arrow next to the label.
-
Added Control properties
lines,visiblelinesandtoplinefor applicable controls in script dialogs (multiline edit controls, listview in details mode, listbox and markup text with scrollbar). You can modify thetoplineproperty to change the scroll position in the control. -
Added new Control methods for multi-select controls in script dialogs:
GetItemByData,RemoveItemByData,SelectItemByData,DeselectItemByData,InvertSelection. -
The markup text control in script dialogs now supports the
<hr>tag to draw a horizontal line. -
Buttons in script dialogs using the internal button icons (with
%xas the image) can now show a grayscale version via%gx.
Evaluator
- The evaluator
DatePart()function can now calculate the julian date from a date/time - e.g.Output(DatePart(Now(), "julian"));
Other changes
-
On Windows 11 the Shell New menu now includes an entry for BMP files (to match File Explorer).
-
The brainchild text control (e.g. script editor) now supports high-resolution scroll wheels.
-
Some list controls (e.g. the Preferences page list and Filetypes dialog) now support high-resolution scroll wheels.
-
The metadata panel now accepts MP3 files with incomplete Release Date (e.g. just a year). The missing components will be set to Jan 1st. (The similar file display columns will just show the year if that's all there is, as before, but the metadata panel needs to expand it to a full date field.)
Fixes
-
Fixed issue with expanded folders where they would stop expanding after certain combination of Select commands had been run
-
Fixed Listers not updating properly when additional files are cut to the clipboard.
-
Scripting: Simple dialog requests with just a static message and some checkboxes now work.
-
Fixed Preferences not redrawing properly when the Preferences / Miscellaneous / Advanced: [Cosmetic] window_corners option is changed.
-
Fix for crash ID 690
-
Fix for crash ID 691
-
Possible fix for crash ID 694