I can't write text to a Region using Surface Automation.

umutaltun

New Member
Hi,

On Microsoft Remote Desktop protocol, I defined my notepad element as a region but i cant write text document on it.

For Ex: I defined a notepad region but i have some error whan i try write something on it.

Is it possible to write something to Reqion ?
 

Attachments

  • 1.JPG
    34.4 KB · Views: 100
  • 2.JPG
    97.2 KB · Views: 85
  • 3.JPG
    80.7 KB · Views: 75
  • 4.JPG
    33.4 KB · Views: 69

umutaltun

New Member
can u share ur screen will help u

Dear Friends,

Thanks for your responses but it doesn't work. Let me give you more detail.

I have created a Notepad_Test_Area (in Region mode) and Navigted to click option (pic1) to highlight area (pic4) and (pic3)
I have created a Navigate2 for use Global Send Keys and send "This is test message" message (pic2)

It runs but do nothing :(
 

Attachments

  • pic1.JPG
    214.9 KB · Views: 118
  • pic2.JPG
    207 KB · Views: 106
  • pic3.JPG
    91.9 KB · Views: 82
  • pic4.JPG
    132.5 KB · Views: 81

VJR

Well-Known Member
Hi umutaltun,

What happens when you remove the interval.
Also check with both- Global Sendkeys and Global Senkeys Events.
Another approach to try is to first set the focus in that area and then write on it. Identify what is available with you to set the focus like Click center, Focus, activate etc.
 

greeshma_repaka

New Member
Hi Umutaltun,
Can you please tell how to spy elements in remode desktop. While I am trying to spy, bp justs identifies the whole screen, but not the inside elements.
 

VJR

Well-Known Member
Hi greeshma_repaka,

You will need to spy using Region mode and then use GSK or GSK Events to interact via remote desktop.
 
Top