Comments (7)
Comment by msanders
Wednesday Jan 27, 2010 at 17:41 GMT
Can you not just use '\t'?
from autopy2.
Comment by avi
Wednesday Jan 27, 2010 at 18:20 GMT
doesn't work for me at least (Ubuntu 64bit)
After the patch it works perfectly.
from autopy2.
Comment by daminkz
Sunday Feb 14, 2010 at 11:07 GMT
I applied the lines above. I build and installed but "key.tap(K_TAB)" still does not work.
I'm using Ubuntu (32bit).
from autopy2.
Comment by avi
Tuesday Feb 16, 2010 at 12:46 GMT
If you built in correctly then you probably need key.tap(key.K_TAB)
from autopy2.
Comment by furbo
Friday May 07, 2010 at 00:43 GMT
Thanks AVI!!!
Your suggested fix worked great for me.
Travel tip:
I'm using the Snow Leopard binary distribution, and if I do a "setup.py install" it breaks the binary distribution. So, I did a "setup.py build" and replaced only the "key.so" file in the "/Library/Python/2.6/site-packages/autopy/" directory.
p.s. Thanks msanders!!!!!! I just started using autopy two days ago, and in my limited experience, it is better and easier to use than many of the automation solutions I've tried.
from autopy2.
Comment by sylecn
Tuesday May 03, 2016 at 02:51 GMT
FYI autopy.key.type_string() argument with a literal TAB character will work. "\t" on the other hand, just insert literal "", "t".
type_string(" ")
from autopy2.
Comment by kaitoqueiroz
Sunday Dec 11, 2016 at 14:40 GMT
+1
from autopy2.
Related Issues (20)
- Compilation and OS X fixes
- Function takes no keyword arguments
- Fixes issue #15 ,incorrect "rect" HOT 2
- added instruction on rect usage
- Improve accuracy
- bitmap.cature_screen(rect) doesn't work properly HOT 1
- Segmentation fault when using get_color
- hex_to_rgb is not true
- no enter key HOT 1
- Is this an efficient alternative to RDP? HOT 1
- Feature Request
- Can't install from pip "Missing parenthesis in call to 'print'"
- Broken on Ubuntu Yakkety 16.10+, libpng12 dependency
- Update bitmap_find.c
- autopy.key.type_string() doesn't properly type SHIFT-modified characters (i.e. ":_+{}) HOT 1
- Still some runtime linking of Visual Studio dlls
- remote operation with autopy HOT 3
- Selenium WebDriver API wrapper for autopy
- bitmap.capture_screen() method not working
- Curious why you renamed your fork HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autopy2.