Xinus
Xinus

Reputation: 30513

How to create simplest p2p remote desktop OR any Robot(Java) equivalent in python

I want to create a simplest remote desktop application using p2p communication. I did created one small p2p program in python.

My Idea is-

Problem-

I could transmit a information for keyboard and mouse events to remote computer and it will be received. But how should remote program reflect those events to remote machine. I mean how should remote program communicate with operating system.

OS: windows xp

Ok is there any equivalent of Robot(Java) in python to control mouse and keyboard events

Upvotes: 0

Views: 1970

Answers (1)

luc
luc

Reputation: 43096

You can control the keyboard and the mouse with python on Windows by calling the win32 apis: keybd_event and mouse_event thanks to ctypes

Upvotes: 1

Related Questions