Code: Select all
v9.40.0107 - 2010-08-31 21:34
+ Now you can run a script on startup directly from the command
line. The new switch is /script=<script resource>, where <script
resource> can be
(1) The path to a script file (commonly called *.xys). The file
spec is resolved as in SC load, so you can skip the XYS
extension. You can also skip the path if the XYS file is
located in the default scripts folder.
For example
XYplorer.exe /script=test
would run the file <xyscripts>\test.xys on startup.
If the path contains spaces it must be quoted:
XYplorer.exe /script="C:\Zen\test one.xys"
(2) A script. It must be preceded by ::, and it must not contain
double quotes or other characters that might lead to problems
when parsing the command line.
For example
XYplorer.exe /script="::msg 'Welcome to XY!';"
Note the quotes which are needed because of the space in the
script line.
Note that this feature is not available in the Home Edition.
! Scripting: Since 2010-07-19 scripting-induced changes of the
active pane (e.g. by use of SC focus) were not correctly
registered by some other commands within the same script. Fixed.
Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.