OPTIONS
Options means to set up values which requirements for additional
functionality and to change some defaults.
Options must be placed into the special section (sections), has a
header [op]. There are no limits for place or
number of this section in the schedule file, as well as
additional menu,
but you can not combined this section with executable sections.
Some options is a simple switch and has no parameters.
If such option is in schedule, correspondents mode will be on.
For example,
logo switchs).
Other options sets some parameters, using values placed on right of
the option name. Format depends on contents.
Options names consists of two Latin letters.
Options can be following:
-
ed - set schedule editor,
which launched on double click on the Runner's icon or on select of
menu point "Edit". By default used "notepad.exe". Requirements for
this editor: it must be simple ASCII-text editor which gets file pathname
from the command line. Right part of this option is equals to
additional menu points command line.
Schedule filename not be contained in the command line.
You can try to use this options with Windows Notepad.
-
dc - to replace standard action on user's doubleclick on the
Runner's icon. By default Runner launch Windows NOTEPAD.EXE to edit schedule.
If option ed present, this option will override
it. Note: if this option used to launch schedule editor, remember that Runner
will not launch default editor on any errors and that Runner will not ask for
reloading of a schedule.
-
hd - to launch Runner at "hidden" state, without icon on the
SysTray. This is a switch. If it absent, program starts in "visible" state.
For details see
above.
Format: hd
-
sd - set a "zero date". This date can be used as a start point
when execution day for sections [in] is calculated.
- Format: sd=date
- Sample: sd=1.10.98 - set a zero date to 1998, October, 10.
Date format - is standard.
-
mc - to on and set parameters of the built-in RAM usage indicator.
Runner has built-in RAM usage indicator, based on information, returns by
Windows. This indicator shows memory utilization by two ways:
- changing a colour of the
Runner's icon depend on count of free RAM.
From 100% to some defined value colour of the icon is green. This value
named as "yellow margin". From this value to second defined value
colour of the icon is yellow. Second value is named "red margin". Form
"red margin" colour of the icon is red.
- on popup tip, which is showed when cursor move above the Runner's icon.
Request to system proceeds on every timer cycle with period 0,4 second.
Both output methods act at one time.
By default value of the "yellow margin" is equals to 50 and value of the
"red margin" is equals to 20 % of free RAM. User can change this values,
place new values with option mc. If only one value presents it set
value of the "yllow margin". If both values presents, set both margins.
- Format: mc "yellow margin"(%) "red margin"(%)
- Пример: mc 30 10 - indicator is on, set the "yellow margin" to
30%, "red" - to 10%.
-
nn - to off error messages during commands execution (see
program messages). If this option is occured
programm will not message user about errors. In the last case it is recomennded
to use logging. Fatal error messages
can not be off with this option.
-
df - to set filename (w/wo path) of session data file,
which store work information used by instructions
cb and cf.
Optional. Default - RUNNER.SSS in the program directory.
-
sc - to inform Runner if it works as service.
Runner is a normal application, not a Windows NT service. But using
such programs as SRVANY or AppToService, it is possible to install
Runner as service. Without this option Runner close when user log off.
If this option presents, Runner still works.
-
lf - to set pathname of the log-file. This file will be used
to output log-records during work of the Runner.
See also logging.
-
Some one-type options is numbered there. Every one of it is a simple switch and
on a correspondents mode. This options not use any values.
All it means to on logging of one type of events. It has simple
format as nn or hd.
List of it is following:
- le - to log execution errors;
- ls - to log start and finish of the Runner;
- lx - to log the command execution;
- lp - to log power events;
- lh - to log hide and show of the Runner icon;
- lr - to log schedule load;
- ll - to log the
sl-instruction execution;
...next