Differences

This shows you the differences between the selected revisions of the page.

2017-05-31 2017-05-31
5.10: Change: When executing script file or script commands provided on command-line, default reconnect time is set to 120 seconds, if not limited yet by configuration. (martin) (hidden) Restored revision 1486399864. Undoing revision 1496246147. (martin) (hidden)
Line 17: Line 17:
The script file must use UTF-8 or UTF-16 (with BOM) encoding. The script file must use UTF-8 or UTF-16 (with BOM) encoding.
-When running commands specified using ''/script'' or ''/command'', batch mode is used implicitly, overwrite confirmations are turned off and broken sessions are reconnected for 120 seconds only (//only in the latest beta release//). &beta In an interactive scripting mode, the user is prompted in the same way as in GUI mode. To force batch mode (all prompts are automatically answered negatively) use the command ''[[scriptcommand_option#batch|option batch abort]]''. For batch mode it is recommended to turn off confirmations using ''[[scriptcommand_option#confirm|option confirm off]]'' to allow overwrites (otherwise the [[ui_overwrite|overwrite confirmation prompt]] would be answered negatively, making overwrites impossible).+When running commands specified using ''/script'' or ''/command'', batch mode is used implicitly and overwrite confirmations are turned off. In an interactive scripting mode, the user is prompted in the same way as in GUI mode. To force batch mode (all prompts are automatically answered negatively) use the command ''[[scriptcommand_option#batch|option batch abort]]''. For batch mode it is recommended to turn off confirmations using ''[[scriptcommand_option#confirm|option confirm off]]'' to allow overwrites (otherwise the [[ui_overwrite|overwrite confirmation prompt]] would be answered negatively, making overwrites impossible).
Multiple sessions can be opened simultaneously. Use the ''[[scriptcommand_session|session]]'' command to switch between them. Multiple sessions can be opened simultaneously. Use the ''[[scriptcommand_session|session]]'' command to switch between them.

Last modified: by martin