Skip to main content
OCLC Support

SetSelectedText

Find the syntax, use, parameters, return values, and an example for the SetSelectedText macro command in Connexion client.
Syntax BOOL = CS.SetSelectedText (sText)
Use to Insert specific text in a record at the cursor location (text can span multiple fields).
Parameters For sText, enter the text string you want to insert, enclosed in quotation marks (“).
Return values TRUE if the action is successful, or FALSE if not.
Example Sub Main()

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

     If CS.SetSelectedText “New text”
End Sub

What this example does Inserts the following text in a record at the cursor location: New text