Giter Site home page Giter Site logo

pyrobot's People

Contributors

bryant1410 avatar chriskiehl avatar davidfjoh avatar dx724 avatar gcq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyrobot's Issues

Keys class enhancement

Refactoring the Keys class like this:

class Keys(object):
        space=32;left_mouse_button=1;right_mouse_button=2;[...]

There is no need to instantiate Keys, you can use it right away:

#Now:
Keys.space

#Instead of:
key = Keys()
key.space

Scrolling

Am I imagining things or scrolling by a certain fixed amount doesn't always move you the same distance?

I tried the following:

 robot.scroll_mouse_wheel('up', 10)

and 3 times out of 10 it would take me much further up than the rest of the time. Is this normal/known/expected?

I tried doing a for loop with sleep of 0.1 in it, and it seemed to be more predictable.

for _ in range(7):
    robot.scroll_mouse_wheel('down', 1)
    sleep(0.1)

syntax error on line 303

i like the idea of this but when i import the robot class as in the example i get a syntaxerror on line 303 with the print e statement. This is in both 2.7.5 and the 3.3 python version.

Some pyrobot functionality seems inconsistent

I'm having this glitch that seems to come and go, where pyrobot doesn't see windows outside the repo. That is, when i move it to the desktop, no windows are returned even when i have the console and editors open.

http://puu.sh/5VVF3.png

It might be my setup, or anything really. I can't see what it is, but if you need more info i'll be glad to help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.