Example: rdp_sync_object_mouse_click

The following shows a script waiting for a specific Notepad window to become in focus and for a specific object to have a certain attribute. When the window is in focus, the mouse is clicked at horizontal position 27 and vertical position 14.

rdp_sync_object_mouse_click (

    "StepDescription=Synced Mouse Click on Object 1",

    "Snapshot=snapshot1.inf",

    "WindowTitle=Notepad",

    "Attribute=CONTROL_ID",

    "Value=7",

    "MouseX=27",

    "MouseY=14",

    "MouseButton=LEFT_BUTTON",

    RDP_LAST );