VNC is node not hub: paste () enters node clipboard content

Asked by srainwin on 2019-07-30

When a VNC node is a node rather than a hub, the paste () method inputs the contents of the original pasteboard of the node system rather than what I want to input.
1. I copied text on the node server.The text is "abc".
2. Then,I run my code like this "
VNCScreen vnc = VNCScreen.start("192.168.1.104", 5900, "pasword", 10, 10000);
ImagePath.add("D:/xxx/sikuli/image/");
vnc.wait("baidu.png");
vnc.paste("baidu.png", "efg");
vnc.close();
vnc.stop();
".
3. I see that the node screen enters "abc"in the input box in the picture,but what I want is "efg".

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2019-07-30
Last reply:
2019-07-30
RaiMan (raimund-hocke) said : #1

I have no idea and no experience with VNC, sorry.

srainwin (srainwin) said : #2

Will there be a new remote server implementation plan in the future? I hope a new implementation to solve the remote server execution problem.

RaiMan (raimund-hocke) said : #3

There are no plans currently.
The VNC solution is a contribution. I do not have any knowledge with it.

Can you help with this problem?

Provide an answer of your own, or ask srainwin for more information if necessary.

To post a message you must log in.