Code: Select all
v17.50.0215 - 2017-02-15 15:38
+ Scripting got a new function.
Name: SearchTemplate
Action: Save or load Find Files settings to/from a search template.
Syntax: searchtemplate(name, [mode="load"], [flags=0])
name: Template name
- All characters allowed
- Auto-converted to a valid filename in this location:
<xydata>\FindTemplates\<name>.ini
OR:
Full path/file name in any location you want.
mode:
load = [default] Load template. See flags below.
save = Save current Find Files settings to template. Use flags 1
to also save the current search results (if any).
flags: (bit field)
1 = cache results (on load this flag logically implies flags 2+4+8)
2 = use stored location (on load only)
4 = use exclude folders (on load only)
8 = run search at once (on load only)
Remarks:
- Any existing template of the same name is overwritten without questions.
Examples:
- Save current search to "test":
searchtemplate("test", "save");
- Save current search to "test", store the search results as well:
searchtemplate("test", "save", 1);
- Load search in original location, use exclude folders, run at once:
searchtemplate("test", , 14);
- Load cached results (logically implies: use original location, use
exclude folders, run at once):
searchtemplate("test", , 1);
- Load the stored Find Files settings without running any search:
searchtemplate("test");
+ Info Panel | Preview: Now the icon preview can be vertically scrolled if
needed.
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