Code: Select all
v19.40.0002 - 2018-11-23 16:51
* SC editconf: Completely redesigned the syntax, i.e. update your scripts
from yesterday!
Syntax: editconf [flags], [filter], [file]
flags: (bit field)
1 = Before reading the file, the current configuration (usually
XYplorer.ini) is saved.
That way you ensure that the file you are about to edit represents
the current state of the app.
2 = Before reading the file, all settings are saved (including the
configuration file, so this includes flag 1).
That way you ensure that the file you are about to edit represents
the current state of the app. And, if you later "restart without
saving" the app is in the same state as now (apart from your edits).
4 = After OK-ing automatically restart XYplorer without saving. This
will apply the changes you made. Of course, this only makes sense
if you have been editing XYplorer.ini.
filter: Preset the filter.
Allows you to focus particular lines in the file right away.
file: Full path to the configuration file to edit.
Defaults to this XYplorer's main INI file (usually XYplorer.ini).
Examples:
editconf; //edit XYplorer.ini, no auto-restart
editconf 1; //edit XYplorer.ini, save config
editconf 1 + 4; //edit XYplorer.ini, save config + auto-restart
editconf , , "<xypath>\Startup.ini"; //edit this file
editconf 4
editconf , "ZipPath7zip=*"; //filter and preselect this line in XYplorer.ini
editconf 5, "ZipPath7zip=*"; //save XYplorer.ini; filter and preselect this line; auto-restart
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