This is an old revision of the document!
fScan Reference Manual, Chapter 2 (CmdLineOptions): run
usage: -run flag string
usage: :
With no arguments, this command just forces everything before it in the command line to be processed before processing other options. A colon (surrounded by blank space) is a shorthand equivalent to the -run command with no arguments. It simply forces execution of all command options preceding it.
With arguments, this loads interactive command strings.
FLAG:
This sets peekstr to STR.
If STRING=“funckey”, ITEM is Funckey number. The menu item is run as though it had been selected interactively.
Multiple pairs of [MENUNAME ITEM] can be combined in the same '-run 3' command. * 4 - set contents of file STR to run when fScan terminates (sets [[jvs:fscan:manual:chapter4:quitstr|quitstr]]) * 5 - run STR as a synchronous fScan shell command
Examples:
fscan infile -e + 100 : -e x 4 -D # process image addition and multiplication separately (show both results) fscan infile -e + 100 -e x 4 -D # addition and multiplication will be done together (one result window) fscan infile -run
See Also:
EXEC