This example script is mentioned in a demonstration as part of the Advanced Copy and Paste Tips video on our YouTube channel.
The script does the following:
Script arguments have been implemented to allow for changing of specific behaviors. For example, you could map a button using SecureCRT's button bar to run the script, and in the Arguments field you could specify one of the supported arguments to get slightly different behavior as described below:
' Supported arguments to change script's behavior include: ' ' /CaptureStartingEOL:True|False ' If specified as True, the leading line ending character ' sequence is captured and included in the clipboard as ' part of the output of the command. If not specified, or ' set to False, the leading EOL OMITTED from the output ' that is stored in the clipboard. ' ' /CaptureTrailingEOL:True|False ' If specified as True, the trailing EOL character ' sequence is captured and included in the clipboard as ' part of the output of the command. If not specified, or ' set to False, the trailing EOL character sequence is ' OMITTED from the output that is stored in the clipboard. ' ' /CaptureOnlyCmdOutput:True|False ' If specified as True (default), only the command output ' will be copied to the Clipboard. If specified as False, ' both the command issued and the results are copied to ' the Clipboard. ' ' /WriteToFile:"PathToOutputFile" ' If this option is present, the script will write the ' results to the file specified in the PathToOutputFilev ' value.
VanDyke Software uses cookies to give you the best online experience. Before continuing to use this site, please confirm that you agree to our use of cookies. Please see our Cookie Usage for details.
Here you can control cookies using the checkboxes below. Some cookies are essential for the use of our website and cannot be disabled. Others provide a convenience to the user and, if disabled, may reduce the ease of use of our site. Finally, some cookies provide anonymous analytic tracking data that help us provide the user with a richer browsing experience. You can elect to disable these cookies as well.