Example: rdp_send_clipboard_data

In this example, if the server requests data in the CF_TEXT format, the contents of localClipParam_1 are sent. If the server requests data if format CF_UNICODETEXT, the contents of localClipParam_2 are sent.

rdp_send_clipboard_data(

    "StepDescription=Send Clipboard Data",

    "Snapshot=someSnapshot_1.inf",

    REQUEST_RESPONSE,

        "Format=RDP_CF_TEXT",

        "Text={localClipParam_1}",

    REQUEST_RESPONSE,

        "Format=RDP_CF_UNICODETEXT",

        "Text={localClipParam_2}",

    RDP_LAST );