Code: Select all
v20.30.0008 - 2019-08-25 14:51
+ Scripting got a new command.
Name: Dark
Action: Toggles Dark Mode.
Syntax: dark [enable=-1], [darkness=-1], [darkcontrast=-1], [darkadaptive=-1]
enable Turn Dark Mode on or off
-2 = toggle
-1 [default] = keep current setting
0 = off
1 = on
darkness Level of darkness
A number from 0 to 50 (factory default is 25)
-1 [default] = keep current setting
darkcontrast Text contrast in Dark Mode
A number from 0 to 30 (factory default is 15)
darkadaptive Turn the Dark Adaptive mode on or off (see Remarks)
-2 = toggle
-1 [default] = keep current setting
0 = off
1 = on
Remarks:
The Dark Adaptive mode makes custom colors a bit less bright in Dark Mode
and thus easier to the eye.
Examples:
dark 1; // enable dark mode
dark 0; // disable dark mode
dark -2 // toggle dark mode
dark 1, 25, 15; // enable dark mode and set darkness level=25, text contrast=15
dark 3:=-2; // toggle DarkAdaptive
dark 3:=0; // set DarkAdaptive=0
dark 3:=1; // set DarkAdaptive=1
dark 1, , , 1; // enable dark mode and DarkAdaptive tweak
dark 1, 3:=1; // same as above
+ SC get got two new named arguments, "darkness" and "darkcontrast". The
first returns the value of "Configuration | Colors and Styles | Highlights &
Dark Mode | Dark mode | Level of darkness (0 is darkest)", the second the
value of "Configuration | Colors and Styles | Highlights & Dark Mode | Dark
mode | Text contrast".
echo get("darkness");
echo get("darkcontrast");
+ Previewed Formats: Added DSD and DSF files (Sony's DSD Stream File) to the
previewed audio files. Note that this format is ID3V2 compliant and XY
will show the tags in the Preview Panel and in the MP3 columns.
Of course, you will need a CODEC installed to actually preview these
files.
! Configuration | General | Tree and List | List | Select last used
subfolder: Didn't work inside HIDDEN folders if "Show hidden files and
folders" was off. Fixed.
! Configuration | General | Sort and Rename | Rename | Show name length
while renaming: If ticked then the filename's base was not auto-selected
when the caption was wider than the list view and had to be internally
moved to the left to make the right end visible. Fixed.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.
XYplorer Beta Club