Code: Select all
v9.80.0130 - 2011-01-01 14:18
+ New variable <get instance [on first] [on non-first]>. Tells you,
if you have multiple instances of XY, whether the current instance
is the first instance or not.
[on first]: String to return if current instance is the
first instance. Defaults to "1".
[on non-first]: String to return if current instance is not the
first instance. Defaults to "2".
For example, this line returns "First" if the current instance is
the first, else "Second").
::echo <get instance First Second>;
As always, SC get supports the same argument:
::text get("instance", "First", "Second");
Usage:
This variable can be useful in the main window title bar
template (Configuration | Templates), e.g.:
<path> - <app> @ <ini> - <ver> - (<get instance>)
Or like this to show a prefixed (2) on non-first and nothing on
first instances:
<get instance "" "(2) "><path> - <app> @ <ini> - <ver>
! List Management: Showed idiotic message "The current list exceeds
the maximum of 0 items." when OK-ing some lists. Fixed.
:) Happy New Year!
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