The self-closing tag CopyToClipboardFocusedColumn copies the values in the selected rows for the focused column to the Windows clipboard (like CTRL + SHIFT + C).
The CopyToClipboardFocusedColumn action can be used either without attributes, or with the Target value of "Grid" to copy the currently selected column to the clipboard.
The Server attribute is only applicable to consoleEZ, in which case it will be mandatory for Target="LogAnalyzer" or Target="VolumeAnalyzer".
The Index attribute is also only used in consoleEZ and is mandatory when using Target="LogAnalyzer" or Target="VolumeAnalyzer" It is the value found on the Log Analyzer and Volume Analyzer windows.
|Attributes||Attribute Values||Value Description|
Applicable Grid Code
N/A - Not Required (See detailed description)
|Server||Abbreviated server names (separated by comma)|
N/A - Only applicable in consoleEZ (See detailed description)
|Index||Positive integer||Window index number - Only applicable in consoleEZ (See detailed description)|
<CopyToClipboardFocusedColumn target="LogAnalyzer" server="Acme01/ACME" index="2"/>
<ytriaAutomation> <Load Server="ACME01/ACME"/> <Select Target="Tree" Folder="mail"/> <Select target="grid" lines="All"/> <SelectColumn ColumnID="21"/> <CopyToClipboardFocusedColumn/> </ytriaAutomation>
In the script above, the contents of the selected lines within the selected column, ColumnID "D1" from the main grid, will be copied to the clipboard.