Skip to main content
OCLC Support

Copy

Find the syntax, use, parameters, return values, and an example for the Copy macro command in Connexion client.
Syntax CS.Copy (nStartRow, nStartColumn, nEndRow, nEndColumn)
Use to Copy specified text to the clipboard.

Same as using the command Edit > Cut Copy Paste > Copy.
Parameters
  • For nStartRow, enter a number to specify the first row of text you want to copy (start row offset).
  • For nStartColumn, enter a number to specify the first column of text you want to
    copy (start column offset).
  • For nEndRow, enter a number to specify the last row of text you want to copy (end row offset).
  • For nEndColumn, enter a number to specify the last column of text you want to copy (end column offset).
Comment
  • Offsets are 1-based indexes. If any parameter is 0, the text is not copied.
  • You cannot specify any part of the fixed field unless it is displayed as variable fields
Return values None
Example Sub Main()
 

     Dim CS As Object
     Set CS = GetObject(,“Connex.Client”)

     If CS.IsOnline = False Then
          CS.Logon ““, ““, ““
     End If

     CS.Search “WC”, “#1”

     CS.Copy 2, 1, 2, 10
     CS.CursorRow = 5
     CS.CursorColumn = 1
     CS.Paste
End Sub

What this example does
  • Logs on to Connexion if not already logged on, using the default authorization and password you selected in Tools > Options > Authorizations tab.
  • Searches WorldCat for record number 1.
  • Copies the first 10 characters from the second line of the record and pastes at the beginning of the fifth line.