Select Page
Robotil Tool

Robotil

Name

Robotil

Version

1.10

Date

March 10, 2016

Robotil is a simple library to press/release keyboard keys, click coordinates, take screen-shot and invoke application on remote machine.

How to use

  • Download Robotil.jar
  • Start Robotil server on a remote machine.
    java -jar Robotil.jar (Default portNumber is 6666)
    java -jar Robotil.jar 5555
    
  • Reference Robotil jar in java project on a client machine
  • Create an object for Robotil class by mentioning remote IP and port
  • Now, it is ready to use
  • Example

    Robotil robotil=new Robotil("localhost", 5555); 
    robotil.pressAndReleaseKey(KeyEvent.VK_ENTER);
    

Methods

PressKey
To press a keyboard key

robotil.pressKey(KeyEvent.VK_A);

ReleaseKey
To release a keyboard key

robotil.releaseKey(KeyEvent.VK_A);

PressAndReleaseKey
To press and release a keyboard key.

robotil.pressAndReleaseKey(KeyEvent.VK_A);

MouseClick
To click X and Y coordinates

robotil.mouseClick(10,30,InputEvent.BUTTON1_MASK)

InvokeApplication
To invoke remote application

robotil.invokeApplication("notepad.exe");

PutFile
To send a file to a remote machine

robotil.putFile("C:sourceFile.txt","C:destFile.txt")

CaptureScreen
To capture screen-shot

robotil.captureScreen("C:imgsrobotiltest.png")

Version

Robotil-1.10.jar

License

Apache License, Version 2.0

Contributors

Iva Dimitrova Trendafilova & Asiq Ahamed

codoid product Downloads

Written By

Comments(1)

  • 3 years ago

    Nice tool

Talk to our Experts

Amazing clients who
trust us


poloatto
ABB
polaris
ooredo
stryker
mobility