Example: rdp_get_window_position

The following demonstrates how to retrieve the window position for a Notepad window. The position and size of the window are saved in the ParamX, ParamY, ParamWidth, and ParamHeight output parameters.

rdp_get_window_position (

    "StepDescription=Get Window Position 1",

    "Snapshot=snapshot1.inf",

    "WindowTitle=Notepad",

    "WindowLeft=ParamX",

    "WindowTop=ParamY",

    "WindowWidth=ParamWidth",

    "WindowHeight=ParamHeight",

    RDP_LAST );