Normally, script processing adds an entry on the Task Bar and displays a Scripting Status Window detailing its progress and any errors. The command line switches that affect scripting are /closescript, /leftreadonly, /readonly, /rightreadonly, and /silent. Note Mac and Linux users should prefix the switches with "-" instead of "/". The %fn_time% variable outputs the time as hh-mm-ss, which can be used for filenames. The %time% variable's format depends on your computer's regional settings. The ?te% variable fills in the current date in the format yyyy-mm-dd. There are several dynamic variables that Beyond Compare can fill in at each line of the script. The system's temporary folder can be loaded by adding the following to the script: The character case of the environmental variable must be correct. The session named "My Session" can be loaded by adding the following to the script:Īn environmental variable can be inserted by enclosing its name in percent signs. Given the command line:īCompare.exe My Script. The script name and command line switches starting with / are not included in the 1-9 list. To continue a long command on a second (or third) line, add an ampersand (
0 Comments
Leave a Reply. |