From e3a6ecaf1e1b95de14b3ef748200f432d3b1a9e8 Mon Sep 17 00:00:00 2001 From: speyrefitte Date: Tue, 15 Jul 2014 17:16:46 +0200 Subject: [PATCH] mistakes in README --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 00c928e..fc1c5cd 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,7 @@ $ git clone https://github.com/citronneur/rdpy.git rdpy $ scons -C rdpy/lib install ``` -## Binaries -Binaries are uses as examples to use rdpy lib. - +## Examples To create an RDP client (this example doesn't need build step of project because it doesn't call bitmap uncompress): ``` from rdpy.protocol.rdp import rdp @@ -35,7 +33,7 @@ class MyRDPFactory(rdp.ClientFactory): #here code handle bitmap pass def onReady(self): - #send r key + #send 'r' key self._controller.sendKeyEventUnicode(ord(unicode("r".toUtf8(), encoding="UTF-8")), True) #mouse move and click at pixel 200x200 self._controller.sendPointerEvent(200, 200, 1, true) @@ -53,7 +51,9 @@ from twisted.internet import reactor reactor.connectTCP("XXX.XXX.XXX.XXX", 3389), MyRDPFactory()) reactor.run() ``` +For more details on client rdp see rdpy/bin/rdpy-rdpclient binaries. +## Binaries RDP Client ``` $ rdpy/bin/rdpy-rdpclient XXX.XXX.XXX.XXX 3389