Code: Select all
v9.90.0709 - 2011-04-14 12:42
+++ Aliases now support any number of arguments. In the alias
definition the arguments are referred to by placeholders <@1>,
<@2>, <@3> etc. On using the alias the argument values are
passed as a comma-separated list, separated from the alias name by
at least one space. Any surrounding spaces are trimmed. Then <@1>
is replaced with the first argument, <@2> with the second, etc.
Example 1:
Define alias:
@Greet=::echo "Hello, <@1>! It's <@2>!";
Use alias:
@Greet Don, Daisy
Resolved alias:
::echo "Hello, Don! It's Daisy!";
Example 2:
To use the separator with an argument or have surrounding spaces
you need to quote the argument:
Define alias:
@Greet=::echo "Hello, <@1>! It's <@2>!";
Use alias:
@Greet Don, "Duck, Daisy Duck"
Resolved alias:
::echo "Hello, Don! It's Duck, Daisy Duck!";
Notes:
- From now on, spaces are not allowed anymore in alias names. Your
current aliases will be smoothly auto-upgraded to the new rules
if necessary.
- If you define <@2> but pass only one argument, <@2> is kept
unchanged.
- If you define only <@1> but pass two arguments, the 2nd argument
is ignored.
- Quotes inside quoted arguments have to be doubled.
- This feature takes aliases to the next level.
+ Configuration | Advanced | Scripting: Added option "Remember
permanent variables". Has been available as tweak since v9.90.0705.
+ Configuration | Templates: Added section to define a custom
command line interpreter and the arguments it should use.
This is the recent CLI tweak elevated to UI level.
Note that a checkbox has been added to control whether the custom
CLI should be used.
- Removed the following change from v9.20.0006 - 2010-06-22 20:39.
Reason: The experiment failed, it's counter-intuitive.
* Menu File | Rename (in List): Now, always the focused item is
renamed, completely independent of the current selections.
! Renaming a folder in the list didn't update its caption in the
tree correctly if "Show localized folder names" was enabled. Fixed.
It's a good idea to backup your complete XYplorer settings (menu File | Settings | Backup your Application Data Folder)
before running a new BETA version. This will also help in fixing any fresh bugs.
XYplorer Beta Club