Menu

"Right Click" and "Paste" are possible?

crunder
2014-07-21
2014-08-11
  • crunder

    crunder - 2014-07-21

    Hi, first thanks for your work, it's very good.
    But, I checked that does not exist "Right Click" and "Paste", it's possible implement this commands?

    Thanks again!

     
    • tiennen07

      tiennen07 - 2014-07-26

      Paste can be handled by calling:
      Screen scrn = new Screen();

      scrn.Type(new Pattern("Path-To-Target"), "v",KeyModifier.CTRL);

      which will send CTRL+V to whatever your target is, effectively pasting whatever is in the clipboard.

       

      Last edit: tiennen07 2014-07-26
      • crunder

        crunder - 2014-08-11

        Works for me, thanks.

         

        Last edit: crunder 2014-08-11
  • tiennen07

    tiennen07 - 2014-07-26

    Just updated the NuGet package to 1.0.6.

    Sikuli4Net now has right-click functionality.

    Make sure you delete sikulirestapi-1.0.jar from your file system/project bin before running tests or trying to use right-click.

    Or you can replace your current copy of sikulirestapi-1.0.jar with the one located here: http://sourceforge.net/projects/sikulirestapi/files/sikulirestapi-1.0.jar/download

    Sikuli4Net version 1.0.5 should still function without any issues.

     

    Last edit: tiennen07 2014-07-26
  • crunder

    crunder - 2014-08-11

    About rigth-click, this works fine. Thanks again.

     

Log in to post a comment.